mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-23 19:34:15 +08:00
reset window minimized state properly.
This commit is contained in:
parent
18a4089224
commit
77f05a1b6b
@ -25,11 +25,11 @@
|
||||
Settings.Default.Upgrade();
|
||||
Settings.Default.UpgradeRequired = false;
|
||||
Settings.Default.Save();
|
||||
|
||||
// do not restore in minimized state
|
||||
if (Settings.Default.winState == System.Windows.WindowState.Minimized)
|
||||
Settings.Default.winState = System.Windows.WindowState.Normal;
|
||||
}
|
||||
|
||||
// do not restore in minimized state
|
||||
if (Settings.Default.winState == System.Windows.WindowState.Minimized)
|
||||
Settings.Default.winState = System.Windows.WindowState.Normal;
|
||||
}
|
||||
|
||||
private void SettingChangingEventHandler(object sender, System.Configuration.SettingChangingEventArgs e) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user