mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 01:36:22 +00:00
refs #226 Adds focus to search shortcut to main-menu
This commit is contained in:
@@ -143,6 +143,16 @@ var view = {
|
||||
click: function () {
|
||||
BrowserWindow.getFocusedWindow().toggleDevTools()
|
||||
}
|
||||
},
|
||||
{
|
||||
type: 'separator'
|
||||
},
|
||||
{
|
||||
label: 'Focus Search',
|
||||
accelerator: 'Control + S',
|
||||
click: function () {
|
||||
mainWindow.webContents.send('top:focus-search')
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user