Skip to content

Commit 4f8a04e

Browse files
committed
Merge pull request BoostIO#1 from dojineko/quick-search
Top search will be focused when Main window showed by hotkey.
2 parents 6907cf9 + 63b2e05 commit 4f8a04e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/hotkey.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function toggleMain () {
6767
mainWindow.minimize()
6868
mainWindow.restore()
6969
}
70-
mainWindow.webContents.send('list-focus')
70+
mainWindow.webContents.send('top-focus-search')
7171
}
7272
}
7373

@@ -114,4 +114,3 @@ ipc.on('hotkeyUpdated', function (event, newKeymap) {
114114
globalShortcut.unregisterAll()
115115
registerAllKeys()
116116
})
117-

0 commit comments

Comments
 (0)