From a631bd990affc7c5f3062b896753a77544557c8c Mon Sep 17 00:00:00 2001 From: Tobirexy Date: Tue, 9 Jul 2019 14:30:26 +0200 Subject: [PATCH] fixes App freezing when NOT opening from tray (#46) --- src/electron/window.main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/electron/window.main.ts b/src/electron/window.main.ts index cdf9d68bb7..36f26f82d2 100644 --- a/src/electron/window.main.ts +++ b/src/electron/window.main.ts @@ -37,7 +37,7 @@ export class WindowMain { // Someone tried to run a second instance, we should focus our window. if (this.win != null) { if (this.win.isMinimized()) { - this.win.restore(); + this.win.show(); } this.win.focus(); }