From 18b889c621c1a1bf24dd61381fa5aea96f7040b2 Mon Sep 17 00:00:00 2001 From: pc223 <10551242+pc223@users.noreply.github.com> Date: Wed, 23 Jun 2021 00:11:54 +0700 Subject: [PATCH] Remove empty lines --- Flow.Launcher/Helper/SingletonWindowOpener.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/Flow.Launcher/Helper/SingletonWindowOpener.cs b/Flow.Launcher/Helper/SingletonWindowOpener.cs index 3b2b3631d..fdfaaa4fc 100644 --- a/Flow.Launcher/Helper/SingletonWindowOpener.cs +++ b/Flow.Launcher/Helper/SingletonWindowOpener.cs @@ -12,7 +12,6 @@ namespace Flow.Launcher.Helper ?? (T)Activator.CreateInstance(typeof(T), args); Application.Current.MainWindow.Hide(); - // Fix UI bug // Add `window.WindowState = WindowState.Normal` // If only use `window.Show()`, Settings-window doesn't show when minimized in taskbar @@ -22,7 +21,6 @@ namespace Flow.Launcher.Helper window.WindowState = WindowState.Normal; window.Show(); - window.Focus(); return (T)window;