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

Merge pull request #1 from dojineko/quick-search

Top search will be focused when Main window showed by hotkey.
This commit is contained in:
Dick Choi
2016-03-10 19:44:57 +09:00

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()
}) })