1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-14 02:06:29 +00:00

added ctrl+, shortcut to preference modal

This commit is contained in:
Maurits Lourens
2017-12-08 12:02:07 +01:00
parent 6a761c3fb5
commit 67f7cdb36c

View File

@@ -20,6 +20,7 @@ const boost = macOS
}, },
{ {
label: 'Preferences', label: 'Preferences',
accelerator: 'Command+,',
click () { click () {
mainWindow.webContents.send('side:preferences') mainWindow.webContents.send('side:preferences')
} }
@@ -56,6 +57,7 @@ const boost = macOS
submenu: [ submenu: [
{ {
label: 'Preferences', label: 'Preferences',
accelerator: 'Control+,',
click () { click () {
mainWindow.webContents.send('side:preferences') mainWindow.webContents.send('side:preferences')
} }
@@ -152,6 +154,7 @@ if (LINUX) {
type: 'separator' type: 'separator'
}, { }, {
label: 'Preferences', label: 'Preferences',
accelerator: 'Control+,',
click () { click () {
mainWindow.webContents.send('side:preferences') mainWindow.webContents.send('side:preferences')
} }