Select is not triggered only when tab is truly clicked.
MODIFY
WalletWasabi.Dependencies/AvalonStudio.Shell
WalletWasabi.Dependencies/AvalonStudio.Shell
-Subproject commit 2199c135d7e015e79512ed3cd0dd037fa549f4e4
+Subproject commit 7bb15c61f98ed5d969ff4882ec31c4bfc3ab15d1

MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/WalletActionViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/WalletActionViewModel.cs
@@ -33,6 +33,12 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
public void DisplayActionTab()
{
IoC.Get<IShell>().AddOrSelectDocument(this);
+ IoC.Get<IShell>().Select(this);
+ }
+
+ public void AddActionTab()
+ {
+ IoC.Get<IShell>().AddDocument(this,select: false);
}
protected void SetWarningMessage(string message)

MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/WalletViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/WalletViewModel.cs
@@ -71,17 +71,17 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
advancedAction.Items.Add(broadcastTab);
// Open and select tabs.
- sendTab?.DisplayActionTab();
+ sendTab?.AddActionTab();
if (receiveDominant)
{
- coinjoinTab.DisplayActionTab();
- historyTab.DisplayActionTab();
+ coinjoinTab.AddActionTab();
+ historyTab.AddActionTab();
receiveTab.DisplayActionTab(); // So receive should be shown to the user.
}
else
{
- receiveTab.DisplayActionTab();
- coinjoinTab.DisplayActionTab();
+ receiveTab.AddActionTab();
+ coinjoinTab.AddActionTab();
historyTab.DisplayActionTab(); // So history should be shown to the user.
}

Select is not triggered only when tab is truly clicked.