win: Fix notify icon and context menu.
This commit is contained in:
parent
b4ba149662
commit
b2afe7b3bf
5 changed files with 17 additions and 11 deletions
|
@ -76,9 +76,6 @@ Menu::insert = (pos, item) ->
|
|||
v8Util.setHiddenValue otherItem, 'checked', false
|
||||
v8Util.setHiddenValue item, 'checked', true
|
||||
|
||||
# Update states when clicked on Windows.
|
||||
@_updateStates() if process.platform is 'win32'
|
||||
|
||||
@insertRadioItem pos, item.commandId, item.label, item.groupId
|
||||
|
||||
@setSublabel pos, item.sublabel if item.sublabel?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue