From 67f7cdb36ce95d011877a9642ea31093d6809dc0 Mon Sep 17 00:00:00 2001 From: Maurits Lourens Date: Fri, 8 Dec 2017 12:02:07 +0100 Subject: [PATCH] added ctrl+, shortcut to preference modal --- lib/main-menu.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/main-menu.js b/lib/main-menu.js index 3adc323e0..3555c3816 100644 --- a/lib/main-menu.js +++ b/lib/main-menu.js @@ -20,6 +20,7 @@ const boost = macOS }, { label: 'Preferences', + accelerator: 'Command+,', click () { mainWindow.webContents.send('side:preferences') } @@ -56,6 +57,7 @@ const boost = macOS submenu: [ { label: 'Preferences', + accelerator: 'Control+,', click () { mainWindow.webContents.send('side:preferences') } @@ -152,6 +154,7 @@ if (LINUX) { type: 'separator' }, { label: 'Preferences', + accelerator: 'Control+,', click () { mainWindow.webContents.send('side:preferences') }