tasmovie - only save when stopping if there are changes
This commit is contained in:
parent
734b8338bc
commit
e00801d6f3
|
@ -55,7 +55,7 @@ namespace BizHawk.Client.Common
|
|||
Save();
|
||||
}
|
||||
|
||||
public bool Stop(bool saveChanges = true)
|
||||
public virtual bool Stop(bool saveChanges = true)
|
||||
{
|
||||
bool saved = false;
|
||||
if (saveChanges)
|
||||
|
|
|
@ -42,6 +42,16 @@ namespace BizHawk.Client.Common
|
|||
get { return Extension; }
|
||||
}
|
||||
|
||||
public override bool Stop(bool saveChanges = true)
|
||||
{
|
||||
if (Changes)
|
||||
{
|
||||
return base.Stop(saveChanges);
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
#region Events and Handlers
|
||||
|
||||
public event PropertyChangedEventHandler PropertyChanged;
|
||||
|
|
Loading…
Reference in New Issue