Skip to content

Commit

Permalink
Move options to Tools in Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
cheshire137 committed Jul 16, 2018
1 parent 758e7ee commit 1c7edf2
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/models/AppMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ class AppMenu {
const self = this

return {
label: this.isMac ? 'Preferences' : 'Settings',
label: this.isMac ? 'Preferences' : 'Options',
accelerator: `CmdOrCtrl+,`,
click() { self.onPageChange('settings') }
}
Expand All @@ -236,10 +236,6 @@ class AppMenu {

editSubmenu() {
const submenu = []
if (!this.isMac) {
submenu.push(this.settingsMenuItem())
submenu.push({ type: 'separator' })
}
submenu.push({ role: 'undo' })
submenu.push({ role: 'redo' })
submenu.push({ type: 'separator' })
Expand All @@ -254,7 +250,12 @@ class AppMenu {
const submenu = []
if (this.showLogMatchMenuItem) {
submenu.push(this.importMatchesMenuItem())
submenu.push({ type: 'separator' })
}
if (!this.isMac) {
submenu.push(this.settingsMenuItem())
}
if (!this.isMac || this.showLogMatchMenuItem) {
submenu.push({ type: 'separator' })
}
submenu.push(this.developerToolsMenuItem())
return submenu
Expand Down

0 comments on commit 1c7edf2

Please sign in to comment.