Reverted r8033. Added comment about the Status Bar Profile Icon.

This commit is contained in:
hegyak 2014-10-16 23:24:17 +00:00
parent 1cde5584b1
commit 3dbd76900d
1 changed files with 6 additions and 17 deletions

View File

@ -2236,23 +2236,12 @@ namespace BizHawk.Client.EmuHawk
private void ProfileFirstBootLabel_Click(object sender, EventArgs e)
{
//We should make sure the user actually picked a Profile.
if (new ProfileConfig().ShowDialog() == DialogResult.OK)
{
GlobalWin.OSD.AddMessage("Profile settings saved");
//We hide the FirstBoot items since the user setup a Profile
//Is it a bad thing to do this constantly?
Global.Config.FirstBoot = false;
ProfileFirstBootLabel.Visible = false;
}
else
{
GlobalWin.OSD.AddMessage("Profile config aborted");
}
//var profileForm = new ProfileConfig();
//profileForm.ShowDialog();
//Global.Config.FirstBoot = false;
//ProfileFirstBootLabel.Visible = false;
//We do not check if the user is actually setting a profile here.
//This is intentional.
var profileForm = new ProfileConfig();
profileForm.ShowDialog();
Global.Config.FirstBoot = false;
ProfileFirstBootLabel.Visible = false;
}
#endregion