fix some false Ask to save changes nagging done by the cheat form
This commit is contained in:
parent
704a9664bf
commit
29dffc9bca
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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 =
|
||||
|
|
Loading…
Reference in New Issue