diff options
author | 2018-12-05 14:23:35 +0100 | |
---|---|---|
committer | 2018-12-05 14:23:35 +0100 | |
commit | ca1d6189e1f53f8b6490b3fcc93e7f9a42cb048b (patch) | |
tree | 5b88144f500029d21f233b4a858f0ca6a25b71b4 | |
parent | Update babelrc to compile for electron 2 (diff) | |
download | ferdium-app-ca1d6189e1f53f8b6490b3fcc93e7f9a42cb048b.tar.gz ferdium-app-ca1d6189e1f53f8b6490b3fcc93e7f9a42cb048b.tar.zst ferdium-app-ca1d6189e1f53f8b6490b3fcc93e7f9a42cb048b.zip |
fix(Windows): Fix quit app, really!
-rw-r--r-- | src/lib/Menu.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/Menu.js b/src/lib/Menu.js index 32ec1b207..c378619ad 100644 --- a/src/lib/Menu.js +++ b/src/lib/Menu.js | |||
@@ -592,7 +592,7 @@ export default class FranzMenu { | |||
592 | { | 592 | { |
593 | label: intl.formatMessage(menuItems.quit), | 593 | label: intl.formatMessage(menuItems.quit), |
594 | role: 'quit', | 594 | role: 'quit', |
595 | click: () => { | 595 | click() { |
596 | app.quit(); | 596 | app.quit(); |
597 | }, | 597 | }, |
598 | }, | 598 | }, |
@@ -651,6 +651,10 @@ export default class FranzMenu { | |||
651 | { | 651 | { |
652 | label: intl.formatMessage(menuItems.quit), | 652 | label: intl.formatMessage(menuItems.quit), |
653 | role: 'quit', | 653 | role: 'quit', |
654 | accelerator: 'Ctrl+Q', | ||
655 | click() { | ||
656 | app.quit(); | ||
657 | }, | ||
654 | }, | 658 | }, |
655 | ]; | 659 | ]; |
656 | 660 | ||