Rewind config - move osd messages to calling code
This commit is contained in:
parent
06b11bba51
commit
4ac7e8e36a
|
@ -1025,7 +1025,10 @@ namespace BizHawk.Client.EmuHawk
|
|||
private void RewindOptionsMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
using var form = new RewindConfig();
|
||||
form.ShowDialog();
|
||||
AddOnScreenMessage(form.ShowDialog().IsOk()
|
||||
? "Rewind and State settings saved"
|
||||
: "Rewind config aborted");
|
||||
|
||||
}
|
||||
|
||||
private void FileExtensionsMenuItem_Click(object sender, EventArgs e)
|
||||
|
|
|
@ -137,7 +137,6 @@ namespace BizHawk.Client.EmuHawk
|
|||
|
||||
private void Cancel_Click(object sender, EventArgs e)
|
||||
{
|
||||
GlobalWin.OSD.AddMessage("Rewind config aborted");
|
||||
Close();
|
||||
}
|
||||
|
||||
|
@ -185,7 +184,6 @@ namespace BizHawk.Client.EmuHawk
|
|||
Global.Config.NoLowResLargeScreenshotWithStates = !LowResLargeScreenshotsCheckbox.Checked;
|
||||
Global.Config.BigScreenshotSize = (int)BigScreenshotNumeric.Value * 1024;
|
||||
|
||||
GlobalWin.OSD.AddMessage("Rewind and State settings saved");
|
||||
Close();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue