Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Merge pull request #7059 from NejcZdovc/hotfix/#6867-default-selectio…
Browse files Browse the repository at this point in the history
…n-menu

Fixed menu default selection in title bar
  • Loading branch information
bsclifton committed Feb 4, 2017
2 parents 59e3136 + 904b240 commit 826b835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/renderer/components/menubar.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class MenubarItem extends ImmutableComponent {
}
// Otherwise, mark item as selected and show its context menu
windowActions.setMenuBarSelectedIndex(this.props.index)
windowActions.setContextMenuSelectedIndex([0])
windowActions.setContextMenuSelectedIndex()
const rect = e.target.getBoundingClientRect()
showContextMenu(rect, this.props.submenu, this.props.lastFocusedSelector)
}
Expand Down

0 comments on commit 826b835

Please sign in to comment.