mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
UI - Set window state to normal if minimized when opening main window
This commit is contained in:
parent
0a5cc6955e
commit
f990641724
@ -182,7 +182,9 @@ public class RootViewModel : RoutableHostScreen<RoutableScreen>, IMainWindowProv
|
|||||||
}
|
}
|
||||||
|
|
||||||
_lifeTime.MainWindow.Activate();
|
_lifeTime.MainWindow.Activate();
|
||||||
|
if (_lifeTime.MainWindow.WindowState == WindowState.Minimized)
|
||||||
_lifeTime.MainWindow.WindowState = WindowState.Normal;
|
_lifeTime.MainWindow.WindowState = WindowState.Normal;
|
||||||
|
|
||||||
OnMainWindowOpened();
|
OnMainWindowOpened();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user