mirror of
https://github.com/electron/electron.git
synced 2026-01-10 07:58:08 -05:00
Generate menu group id automatically.
In GTK+ radio menu items are managed automatically, so group id won't have any effect there, in the meanwhile we need to maintain the same behavior on all platforms, so we have to generate group id instead of letting users specifying it.
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
* `enabled` Boolean
|
||||
* `visible` Boolean
|
||||
* `checked` Boolean
|
||||
* `groupId` Integer - Should be specified for `radio` type menu item
|
||||
* `submenu` Menu - Should be specified for `submenu` type menu item, when
|
||||
it's specified the `type: 'submenu'` can be omitted for the menu item
|
||||
|
||||
|
||||
Reference in New Issue
Block a user