mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 11:26:27 +00:00
UI - Set window state to normal if minimized when opening main window
This commit is contained in:
1 parent
0a5cc6955e
commit
f990641724
1 file changed
+3
-1
@@ -182,7 +182,9 @@ public class RootViewModel : RoutableHostScreen<RoutableScreen>, IMainWindowProv
|
||||
}
|
||||
|
||||
_lifeTime.MainWindow.Activate();
|
||||
_lifeTime.MainWindow.WindowState = WindowState.Normal;
|
||||
if (_lifeTime.MainWindow.WindowState == WindowState.Minimized)
|
||||
_lifeTime.MainWindow.WindowState = WindowState.Normal;
|
||||
|
||||
OnMainWindowOpened();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user