On startup, respect the show status bar flag, fixes issue #421
This commit is contained in:
parent
59eb3dc2f2
commit
f3dbf8e013
|
@ -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;
|
||||||
|
|
|
@ -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) =>
|
||||||
|
|
Loading…
Reference in New Issue