Set SelectedIndex for TreeDataGreed from UIThread
MODIFY
WalletWasabi.Fluent/ViewModels/Wallets/Home/History/HistoryViewModel.cs
WalletWasabi.Fluent/ViewModels/Wallets/Home/History/HistoryViewModel.cs
@@ -8,6 +8,7 @@ using System.Threading.Tasks;
using Avalonia.Controls;
using Avalonia.Controls.Models.TreeDataGrid;
using Avalonia.Controls.Templates;
+using Avalonia.Threading;
using DynamicData;
using DynamicData.Binding;
using NBitcoin;
@@ -206,7 +207,10 @@ public partial class HistoryViewModel : ActivatableViewModel
SelectedItem.IsFlashing = true;
var index = _transactions.IndexOf(SelectedItem);
+ Dispatcher.UIThread.Post(() =>
+ {
Source.RowSelection!.SelectedIndex = new IndexPath(index);
+ });
}
}

Set SelectedIndex for TreeDataGreed from UIThread