From dcd43dc01900e5ddca3584a30b21f2dd0a361cac Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Sun, 30 Dec 2018 17:32:30 +0100 Subject: [PATCH] fixed the Preferences menu item --- app/lib/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/app.ts b/app/lib/app.ts index 59d99175..6dc1d859 100644 --- a/app/lib/app.ts +++ b/app/lib/app.ts @@ -103,7 +103,7 @@ export class Application { { label: 'Preferences', accelerator: 'Cmd+,', - async click () { + click: async () => { if (!this.hasWindows()) { await this.newWindow() }