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

Commit

Permalink
Fixed menu default selection in title bar
Browse files Browse the repository at this point in the history
Fixes #6867

Auditors: @bsclifton @luixxiul

Test Plan:
- specifined in #6867
  • Loading branch information
NejcZdovc committed Feb 4, 2017
1 parent 50443ad commit 904b240
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 904b240

Please sign in to comment.