implement cannot close dialog (functionality)
MODIFY
WalletWasabi.Gui/ViewModels/MainWindowViewModel.cs
WalletWasabi.Gui/ViewModels/MainWindowViewModel.cs
@@ -10,6 +10,7 @@ namespace WalletWasabi.Gui.ViewModels
public class MainWindowViewModel : ViewModelBase
{
private ModalDialogViewModelBase _modalDialog;
+ private bool _canClose = true;
public StatusBarViewModel StatusBar { get; }
@@ -32,5 +33,11 @@ namespace WalletWasabi.Gui.ViewModels
get { return _modalDialog; }
private set { this.RaiseAndSetIfChanged(ref _modalDialog, value); }
}
+
+ public bool CanClose
+ {
+ get { return _canClose; }
+ set { this.RaiseAndSetIfChanged(ref _canClose, value); }
+ }
}
}

implement cannot close dialog (functionality)