Skip to content

Commit

Permalink
Merge pull request #1257 from mslourens/preferences-shortcut
Browse files Browse the repository at this point in the history
added ctrl+, shortcut to preference modal
  • Loading branch information
kazup01 authored Dec 8, 2017
2 parents 38e8287 + 67f7cdb commit d29d510
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/main-menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const boost = macOS
},
{
label: 'Preferences',
accelerator: 'Command+,',
click () {
mainWindow.webContents.send('side:preferences')
}
Expand Down Expand Up @@ -56,6 +57,7 @@ const boost = macOS
submenu: [
{
label: 'Preferences',
accelerator: 'Control+,',
click () {
mainWindow.webContents.send('side:preferences')
}
Expand Down Expand Up @@ -152,6 +154,7 @@ if (LINUX) {
type: 'separator'
}, {
label: 'Preferences',
accelerator: 'Control+,',
click () {
mainWindow.webContents.send('side:preferences')
}
Expand Down

0 comments on commit d29d510

Please sign in to comment.