We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3384bf commit 43257eaCopy full SHA for 43257ea
Flow.Launcher/Helper/SingletonWindowOpener.cs
@@ -14,14 +14,13 @@ public static T Open<T>(params object[] args) where T : Window
14
15
16
// Fix UI bug
17
+ // Add `window.WindowState = WindowState.Normal`
18
// If only use `window.Show()`, Settings-window doesn't show when minimized in taskbar
19
// Not sure why this works tho
- // Probably because, when `.Show()` failed, `window.WindowState == Minimized` (not `Normal`)
20
+ // Probably because, when `.Show()` fails, `window.WindowState == Minimized` (not `Normal`)
21
// https://stackoverflow.com/a/59719760/4230390
- // Not sure why need .Activate() too
22
window.WindowState = WindowState.Normal;
23
window.Show();
24
- window.Activate();
25
26
27
window.Focus();
0 commit comments