Ram Watch - fix bug where it asks you to save changes, but if this is a fresh unsaved list it ignores the Yes button and closes
This commit is contained in:
parent
d44649bf82
commit
555c9dfb45
|
@ -107,7 +107,14 @@ namespace BizHawk.Client.EmuHawk
|
|||
GlobalWin.Sound.StartSound();
|
||||
if (result == DialogResult.Yes)
|
||||
{
|
||||
_watches.Save();
|
||||
if (string.IsNullOrWhiteSpace(_watches.CurrentFileName))
|
||||
{
|
||||
SaveAs();
|
||||
}
|
||||
else
|
||||
{
|
||||
_watches.Save();
|
||||
}
|
||||
}
|
||||
else if (result == DialogResult.No)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue