consistent cancelling of send and receive dialog.
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Receive/ReceiveViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Receive/ReceiveViewModel.cs
@@ -69,7 +69,7 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets.Receive
.Bind(_suggestionLabelResults)
.Subscribe();
- SetupCancel(enableCancel: true, enableCancelOnEscape: true, enableCancelOnPressed: true);
+ SetupCancel(enableCancel: false, enableCancelOnEscape: true, enableCancelOnPressed: true);
EnableBack = false;

MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Send/SendViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Send/SendViewModel.cs
@@ -67,6 +67,8 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets.Send
ExchangeRate = _wallet.Synchronizer.UsdExchangeRate;
PriorLabels = new();
+ SetupCancel(enableCancel: false, enableCancelOnEscape: true, enableCancelOnPressed: true);
+
this.ValidateProperty(x => x.To, ValidateToField);
this.ValidateProperty(x => x.AmountBtc, ValidateAmount);
@@ -92,7 +94,6 @@ namespace WalletWasabi.Fluent.ViewModels.Wallets.Send
Labels.ToObservableChangeSet().Subscribe(x => _transactionInfo.UserLabels = new SmartLabel(_labels.ToArray()));
- SetupCancel(enableCancel: false, enableCancelOnEscape: true, enableCancelOnPressed: false);
EnableBack = true;
PasteCommand = ReactiveCommand.CreateFromTask(async () => await OnPasteAsync());

MODIFY
WalletWasabi.Fluent/Views/Wallets/Send/SendView.axaml
WalletWasabi.Fluent/Views/Wallets/Send/SendView.axaml
EnableBack="{Binding EnableBack}"
EnableNext="True"
NextContent="Continue"
+ EnableCancel="{Binding EnableCancel}"
IsBusy="{Binding IsBusy}"
ScrollViewer.VerticalScrollBarVisibility="Auto">
<DockPanel>

consistent cancelling of send and receive dialog.