mirror of
https://github.com/crskycode/GARbro.git
synced 2025-01-11 20:39:29 +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.Upgrade();
|
||||||
Settings.Default.UpgradeRequired = false;
|
Settings.Default.UpgradeRequired = false;
|
||||||
Settings.Default.Save();
|
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) {
|
private void SettingChangingEventHandler(object sender, System.Configuration.SettingChangingEventArgs e) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user