implement IsDirty interface (unused) for shell document tabs.
MODIFY
WalletWasabi.Gui/ViewModels/WasabiDocumentTabViewModel.cs
WalletWasabi.Gui/ViewModels/WasabiDocumentTabViewModel.cs
@@ -31,20 +31,27 @@ namespace WalletWasabi.Gui.ViewModels
set { this.RaiseAndSetIfChanged(ref _isSelected, value); }
}
+ public bool IsDirty { get; set; }
+
public virtual void Close()
{
IoC.Get<IShell>().RemoveDocument(this);
- this.IsSelected = false;
+ IsSelected = false;
}
public virtual void OnSelected()
{
- this.IsSelected = true;
+ IsSelected = true;
}
public virtual void OnDeselected()
{
- this.IsSelected = false;
+ IsSelected = false;
+ }
+
+ public bool OnClose()
+ {
+ return false;
}
}
}

implement IsDirty interface (unused) for shell document tabs.