Skip to content
This repository has been archived by the owner on Sep 22, 2023. It is now read-only.

Commit

Permalink
fix(Windows): Fix shortcuts for closing, minimizing and quitting the app
Browse files Browse the repository at this point in the history
  • Loading branch information
adlk committed Mar 26, 2018
1 parent a1e0a29 commit f720d30
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/lib/Menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
},
Expand Down Expand Up @@ -643,10 +643,7 @@ export default class FranzMenu {
},
{
label: intl.formatMessage(menuItems.quit),
accelerator: 'Alt+F4',
click: () => {
app.quit();
},
role: 'quit',
},
];

Expand Down

1 comment on commit f720d30

@MikeDabrowski
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@adlk Why did you remove app.quit() ?

Please sign in to comment.