Close dialog on ESC only when IsBusy = false and cancel button is enabled
MODIFY
WalletWasabi.Fluent/Controls/Dialog.axaml.cs
WalletWasabi.Fluent/Controls/Dialog.axaml.cs
@@ -125,7 +125,7 @@ namespace WalletWasabi.Fluent.Controls
private void CancelKeyDown(object? sender, KeyEventArgs e)
{
- if (e.Key == Key.Escape && EnableCancelOnEscape)
+ if (e.Key == Key.Escape && EnableCancelOnEscape && !IsBusy && IsCancelEnabled)
{
Close();
}

Close dialog on ESC only when IsBusy = false and cancel button is enabled