Let selections to lose focus
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/HistoryTabView.xaml.cs
WalletWasabi.Gui/Controls/WalletExplorer/HistoryTabView.xaml.cs
@@ -8,7 +8,14 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
{
public HistoryTabView()
{
- this.InitializeComponent();
+ InitializeComponent();
+ LostFocus += ReceiveTabView_LostFocus;
+ }
+
+ private void ReceiveTabView_LostFocus(object sender, Avalonia.Interactivity.RoutedEventArgs e)
+ {
+ var model = DataContext as HistoryTabViewModel;
+ model.SelectedTransaction = null;
}
private void InitializeComponent()

MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/ReceiveTabView.xaml.cs
WalletWasabi.Gui/Controls/WalletExplorer/ReceiveTabView.xaml.cs
@@ -8,7 +8,14 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
{
public ReceiveTabView()
{
- this.InitializeComponent();
+ InitializeComponent();
+ LostFocus += ReceiveTabView_LostFocus;
+ }
+
+ private void ReceiveTabView_LostFocus(object sender, Avalonia.Interactivity.RoutedEventArgs e)
+ {
+ var model = DataContext as ReceiveTabViewModel;
+ model.SelectedAddress = null;
}
private void InitializeComponent()

Let selections to lose focus