diff options
author | 2018-03-26 12:23:41 +0200 | |
---|---|---|
committer | 2018-03-26 12:23:41 +0200 | |
commit | f720d3012e6bb55332c919d06114037239e77e07 (patch) | |
tree | 093cd33c6ccab01f28f1c250525bcff17e6dfb88 /src/lib | |
parent | move windows arch config to electron-builder.yml (diff) | |
download | ferdium-app-f720d3012e6bb55332c919d06114037239e77e07.tar.gz ferdium-app-f720d3012e6bb55332c919d06114037239e77e07.tar.zst ferdium-app-f720d3012e6bb55332c919d06114037239e77e07.zip |
fix(Windows): Fix shortcuts for closing, minimizing and quitting the app
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Menu.js | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/lib/Menu.js b/src/lib/Menu.js index 5a05e47b3..e7a525e36 100644 --- a/src/lib/Menu.js +++ b/src/lib/Menu.js | |||
@@ -431,14 +431,14 @@ const _titleBarTemplateFactory = intl => [ | |||
431 | submenu: [ | 431 | submenu: [ |
432 | { | 432 | { |
433 | label: intl.formatMessage(menuItems.minimize), | 433 | label: intl.formatMessage(menuItems.minimize), |
434 | accelerator: 'Alt+M', | 434 | accelerator: 'Ctrl+M', |
435 | click(menuItem, browserWindow) { | 435 | click(menuItem, browserWindow) { |
436 | browserWindow.minimize(); | 436 | browserWindow.minimize(); |
437 | }, | 437 | }, |
438 | }, | 438 | }, |
439 | { | 439 | { |
440 | label: intl.formatMessage(menuItems.close), | 440 | label: intl.formatMessage(menuItems.close), |
441 | accelerator: 'Alt+W', | 441 | accelerator: 'Ctrl+W', |
442 | click(menuItem, browserWindow) { | 442 | click(menuItem, browserWindow) { |
443 | browserWindow.close(); | 443 | browserWindow.close(); |
444 | }, | 444 | }, |
@@ -643,10 +643,7 @@ export default class FranzMenu { | |||
643 | }, | 643 | }, |
644 | { | 644 | { |
645 | label: intl.formatMessage(menuItems.quit), | 645 | label: intl.formatMessage(menuItems.quit), |
646 | accelerator: 'Alt+F4', | 646 | role: 'quit', |
647 | click: () => { | ||
648 | app.quit(); | ||
649 | }, | ||
650 | }, | 647 | }, |
651 | ]; | 648 | ]; |
652 | 649 | ||