From d08413aeab0cf9d1beb83a07612da2af179d7169 Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Tue, 26 May 2020 17:04:39 +0200 Subject: [PATCH] fixed focus loss on new windows --- app/lib/window.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/lib/window.ts b/app/lib/window.ts index ce861c43..7ee5dd22 100644 --- a/app/lib/window.ts +++ b/app/lib/window.ts @@ -101,6 +101,7 @@ export class Window { this.window.show() } this.window.focus() + this.window.moveTop() } }) @@ -152,6 +153,7 @@ export class Window { show (): void { this.window.show() + this.window.moveTop() } focus (): void {