1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00

added shortcut ctrl+q for quit and quit the app when using the Windows Close button

This commit is contained in:
Maurits Lourens
2017-10-30 22:40:52 +01:00
parent f9643c2503
commit 34e9238cc4
2 changed files with 24 additions and 12 deletions

View File

@@ -37,7 +37,8 @@ const boost = macOS
},
{
label: 'Quit Boostnote',
role: 'quit'
role: 'quit',
accelerator: 'CommandOrControl+Q'
}
]
}
@@ -45,7 +46,8 @@ const boost = macOS
label: 'Boostnote',
submenu: [
{
role: 'quit'
role: 'quit',
accelerator: 'Control+Q'
}
]
}
@@ -131,7 +133,8 @@ if (LINUX) {
file.submenu.push({
type: 'separator'
}, {
role: 'quit'
role: 'quit',
accelerator: 'Control+Q'
})
}