diff options
Diffstat (limited to 'src/index.ts')
-rw-r--r-- | src/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.ts b/src/index.ts index 7285533ea..4b21c6b2b 100644 --- a/src/index.ts +++ b/src/index.ts | |||
@@ -406,7 +406,7 @@ const createWindow = () => { | |||
406 | ) { | 406 | ) { |
407 | // Toggle the window on 'Alt+X' | 407 | // Toggle the window on 'Alt+X' |
408 | globalShortcut.register(`${altKey()}+X`, () => { | 408 | globalShortcut.register(`${altKey()}+X`, () => { |
409 | trayIcon.trayMenuTemplate[0].click(); | 409 | trayIcon._toggleWindow(); |
410 | }); | 410 | }); |
411 | } | 411 | } |
412 | }); | 412 | }); |