From 63b2e0560b36468c9d5061c89c50d5fd7a4577f0 Mon Sep 17 00:00:00 2001 From: dojineko Date: Wed, 9 Mar 2016 21:42:45 +0900 Subject: [PATCH] Focus to search box, when hotkey pushed --- lib/hotkey.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/hotkey.js b/lib/hotkey.js index 0940fe91..3573174d 100644 --- a/lib/hotkey.js +++ b/lib/hotkey.js @@ -67,7 +67,7 @@ function toggleMain () { mainWindow.minimize() 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() registerAllKeys() }) -