From f720d3012e6bb55332c919d06114037239e77e07 Mon Sep 17 00:00:00 2001 From: Stefan Malzner Date: Mon, 26 Mar 2018 12:23:41 +0200 Subject: [PATCH] fix(Windows): Fix shortcuts for closing, minimizing and quitting the app --- src/lib/Menu.js | 9 +++------ 1 file 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 => [ submenu: [ { label: intl.formatMessage(menuItems.minimize), - accelerator: 'Alt+M', + accelerator: 'Ctrl+M', click(menuItem, browserWindow) { browserWindow.minimize(); }, }, { label: intl.formatMessage(menuItems.close), - accelerator: 'Alt+W', + accelerator: 'Ctrl+W', click(menuItem, browserWindow) { browserWindow.close(); }, @@ -643,10 +643,7 @@ export default class FranzMenu { }, { label: intl.formatMessage(menuItems.quit), - accelerator: 'Alt+F4', - click: () => { - app.quit(); - }, + role: 'quit', }, ];