on second thought, don't toggle the global config option on show/hide menu. Also make it a function in mainform

This commit is contained in:
andres.delikat 2011-09-24 23:12:43 +00:00
parent 9db06ca408
commit b56f1ae062
2 changed files with 6 additions and 2 deletions

View File

@ -1410,8 +1410,7 @@ namespace BizHawk.MultiClient
private void showMenuToolStripMenuItem_Click(object sender, EventArgs e) private void showMenuToolStripMenuItem_Click(object sender, EventArgs e)
{ {
Global.Config.ShowMenuInFullscreen ^= true; ShowHideMenu();
MainMenuStrip.Visible ^= true;
} }
} }
} }

View File

@ -2425,5 +2425,10 @@ namespace BizHawk.MultiClient
StateSlots.ToggleRedo(Global.Config.SaveSlot); StateSlots.ToggleRedo(Global.Config.SaveSlot);
} }
private void ShowHideMenu()
{
MainMenuStrip.Visible ^= true;
}
} }
} }