mirror of
https://github.com/Stone-Red-Code/InvLock.git
synced 2026-09-04 00:56:10 +02:00
Fix window not minimizing on startup
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
WindowCornerPreference="Round"
|
||||
WindowStartupLocation="CenterScreen"
|
||||
WindowState="Minimized"
|
||||
ShowInTaskbar="False"
|
||||
Loaded="Window_Loaded"
|
||||
Closing="FluentWindow_Closing"
|
||||
Closed="FluentWindow_Closed"
|
||||
|
||||
@@ -51,8 +51,6 @@ public partial class MainWindow : FluentWindow
|
||||
|
||||
private void Window_Loaded(object sender, RoutedEventArgs e)
|
||||
{
|
||||
Close();
|
||||
|
||||
lockWindow = new LockWindow(mainWindowDataContext.Settings);
|
||||
lockWindow.Show();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user