1.1 --- a/GUI/MainForm.cs Sun Jan 31 19:30:00 2010 +0000
1.2 +++ b/GUI/MainForm.cs Sun Jan 31 20:57:18 2010 +0000
1.3 @@ -238,10 +238,12 @@
1.4 Utilities.Config.Set(tempMenuItem.Name, tempMenuItem.Checked);
1.5 Utilities.Config.Set(fansMenuItem.Name, fansMenuItem.Checked);
1.6
1.7 - Utilities.Config.Set("mainForm.Location.X", Location.X);
1.8 - Utilities.Config.Set("mainForm.Location.Y", Location.Y);
1.9 - Utilities.Config.Set("mainForm.Width", Width);
1.10 - Utilities.Config.Set("mainForm.Height", Height);
1.11 + if (WindowState != FormWindowState.Minimized) {
1.12 + Utilities.Config.Set("mainForm.Location.X", Location.X);
1.13 + Utilities.Config.Set("mainForm.Location.Y", Location.Y);
1.14 + Utilities.Config.Set("mainForm.Width", Width);
1.15 + Utilities.Config.Set("mainForm.Height", Height);
1.16 + }
1.17
1.18 foreach (IGroup group in groupList)
1.19 group.Close();