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
{
window.Dispose();
logStream.Dispose();
window.Close();
logStream.Close();
logStream = null;
Log.HACK_LOG_STREAM = null;
window = null;
@ -283,4 +283,4 @@ namespace BizHawk.MultiClient
}
}
}
}

View File

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