reset window minimized state properly.

This commit is contained in:
morkt 2015-05-14 15:51:22 +04:00
parent 18a4089224
commit 77f05a1b6b

View File

@ -25,12 +25,12 @@
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;
}
}
private void SettingChangingEventHandler(object sender, System.Configuration.SettingChangingEventArgs e) {
// Add code to handle the SettingChangingEvent event here.