From 7854a0ba9e470d01a710bf0622eb11e7dbb1c1fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lasse=20K=C3=BCchler?= Date: Thu, 14 Dec 2017 19:09:52 +0100 Subject: [PATCH] feat(component): add keyboard shortcut for opening new project --- src/component/menu.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/component/menu.ts b/src/component/menu.ts index 7d65bf70b..fbdd5d032 100644 --- a/src/component/menu.ts +++ b/src/component/menu.ts @@ -10,6 +10,7 @@ export function createMenu(store: Store): void { submenu: [ { label: '&Open Project', + accelerator: 'CmdOrCtrl+O', click: () => { dialog.showOpenDialog({ properties: ['openDirectory'] }, filePaths => { store.openStyleguide(filePaths[0]);