Rewind config - move osd messages to calling code

This commit is contained in:
adelikat 2019-12-17 14:30:31 -06:00
parent 06b11bba51
commit 4ac7e8e36a
2 changed files with 4 additions and 3 deletions

View File

@ -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)

View File

@ -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();
}