On startup, respect the show status bar flag, fixes issue #421

This commit is contained in:
adelikat 2015-06-06 22:31:56 +00:00
parent 59eb3dc2f2
commit f3dbf8e013
2 changed files with 5 additions and 0 deletions

View File

@ -748,7 +748,11 @@ namespace BizHawk.Client.EmuHawk
private void DisplayStatusBarMenuItem_Click(object sender, EventArgs e) private void DisplayStatusBarMenuItem_Click(object sender, EventArgs e)
{ {
Global.Config.DisplayStatusBar ^= true; Global.Config.DisplayStatusBar ^= true;
SetStatusBar();
}
private void SetStatusBar()
{
if (!_inFullscreen) if (!_inFullscreen)
{ {
MainStatusBar.Visible = Global.Config.DisplayStatusBar; MainStatusBar.Visible = Global.Config.DisplayStatusBar;

View File

@ -64,6 +64,7 @@ namespace BizHawk.Client.EmuHawk
} }
HandleToggleLightAndLink(); HandleToggleLightAndLink();
SetStatusBar();
// New version notification // New version notification
UpdateChecker.CheckComplete += (s2, e2) => UpdateChecker.CheckComplete += (s2, e2) =>