add shortcut for close file

pull/276/head
Mikael Finstad 6 years ago
parent da32b097ee
commit 9973878175

@ -24,6 +24,7 @@ module.exports = (app, mainWindow, newVersion) => {
},
{
label: 'Close',
accelerator: 'CmdOrCtrl+W',
async click() {
mainWindow.webContents.send('close-file');
},

Loading…
Cancel
Save