-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
electron: render menu items based on 'isEnabled'
This commit updates the logic of rendering menu items with the electron target to be based on a command being `enabled`. Since electron does not support graying-out items (enable), we must rely on hiding these items from the menus since they are no-op when executed. Signed-off-by: vince-fugnitto <vincent.fugnitto@ericsson.com>
- Loading branch information
1 parent
18b128c
commit f1776cf
Showing
1 changed file
with
11 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters