Now LogWindow should save the settings correctly

This commit is contained in:
taotao54321 2012-03-09 20:37:43 +00:00
parent 83447d2d71
commit 386d9b5f71
2 changed files with 4 additions and 3 deletions

View File

@ -274,8 +274,8 @@ namespace BizHawk.MultiClient
} }
else else
{ {
window.Dispose(); window.Close();
logStream.Dispose(); logStream.Close();
logStream = null; logStream = null;
Log.HACK_LOG_STREAM = null; Log.HACK_LOG_STREAM = null;
window = null; window = null;

View File

@ -2253,6 +2253,7 @@ namespace BizHawk.MultiClient
CloseForm(TI83KeyPad1); CloseForm(TI83KeyPad1);
CloseForm(TAStudio1); CloseForm(TAStudio1);
CloseForm(LuaConsole1); CloseForm(LuaConsole1);
if (Global.Config.ShowLogWindow) LogConsole.HideConsole();
ConfigService.Save(PathManager.DefaultIniPath, Global.Config); ConfigService.Save(PathManager.DefaultIniPath, Global.Config);
} }