fix some false Ask to save changes nagging done by the cheat form

This commit is contained in:
adelikat 2013-11-04 21:02:36 +00:00
parent 704a9664bf
commit 29dffc9bca
2 changed files with 4 additions and 11 deletions

View File

@ -21,7 +21,10 @@ namespace BizHawk.Client.Common
set
{
_changes = value;
CheatChanged(Cheat.Separator); //Pass a dummy, no cheat invoked this change
if (value)
{
CheatChanged(Cheat.Separator); //Pass a dummy, no cheat invoked this change
}
}
}

View File

@ -205,16 +205,6 @@ namespace BizHawk.Client.EmuHawk
UpdateValues();
}
protected override void OnClosing(CancelEventArgs e)
{
if (!Global.Config.CheatsAutoSaveOnClose)
{
if (!AskSave())
e.Cancel = true;
}
base.OnClosing(e);
}
private void ToggleGameGenieButton()
{
GameGenieToolbarSeparator.Visible =