diff --git a/src/main/menu/setupBarMenu.js b/src/main/menu/setupBarMenu.js index a126f0ff4..bd7cb55ff 100644 --- a/src/main/menu/setupBarMenu.js +++ b/src/main/menu/setupBarMenu.js @@ -1,6 +1,7 @@ import { app, Menu, shell } from 'electron'; export default () => { + const newLocal = 'quit'; const template = [ { label: 'Edit', @@ -27,7 +28,11 @@ export default () => { }, { role: 'window', - submenu: [{ role: 'minimize' }, { role: 'close' }], + submenu: [ + { role: 'minimize' }, + { role: 'close' }, + { role: 'quit', accelerator: 'CmdOrCtrl+Q' }, + ], }, { role: 'help', @@ -42,11 +47,6 @@ export default () => { } }, }, - { - label: 'Close', - accelerator: 'CmdOrCtrl+Q', - role: 'quit', - }, { label: 'Frequently Asked Questions', click: () => {