sync tab selection and wallet explorer selection.
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/WalletExplorerViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/WalletExplorerViewModel.cs
@@ -54,6 +54,24 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
}
}
});
+
+ var shell = IoC.Get<IShell>();
+
+ shell.WhenAnyValue(x => x.SelectedDocument)
+ .Subscribe(x =>
+ {
+ if(x is ViewModelBase vmb)
+ {
+ SelectedItem = vmb;
+ }
+ });
+
+ this.WhenAnyValue(x => x.SelectedItem)
+ .OfType<WasabiDocumentTabViewModel>()
+ .Subscribe(x =>
+ {
+ shell.AddOrSelectDocument(x);
+ });
}
private WalletManager WalletManager { get; }

sync tab selection and wallet explorer selection.