1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

Focus to search box, when hotkey pushed

This commit is contained in:
dojineko
2016-03-09 21:42:45 +09:00
parent 6907cf9972
commit 63b2e0560b

View File

@@ -67,7 +67,7 @@ function toggleMain () {
mainWindow.minimize() mainWindow.minimize()
mainWindow.restore() mainWindow.restore()
} }
mainWindow.webContents.send('list-focus') mainWindow.webContents.send('top-focus-search')
} }
} }
@@ -114,4 +114,3 @@ ipc.on('hotkeyUpdated', function (event, newKeymap) {
globalShortcut.unregisterAll() globalShortcut.unregisterAll()
registerAllKeys() registerAllKeys()
}) })