mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 01:36:22 +00:00
Merge pull request #1257 from mslourens/preferences-shortcut
added ctrl+, shortcut to preference modal
This commit is contained in:
@@ -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')
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user