Open Transaction Details tab based on wallet name
MODIFY
WalletWasabi.Gui/Controls/TransactionDetails/ViewModels/TransactionDetailsViewModel.cs
WalletWasabi.Gui/Controls/TransactionDetails/ViewModels/TransactionDetailsViewModel.cs
@@ -19,6 +19,13 @@ namespace WalletWasabi.Gui.Controls.TransactionDetails.ViewModels
private Money _totalOutputValue;
private int _inputCount;
private int _outputCount;
+ private string _walletName;
+
+ public string WalletName
+ {
+ get => _walletName;
+ set => this.RaiseAndSetIfChanged(ref _walletName, value);
+ }
public DateTimeOffset DateTime
{

MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/HistoryTabViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/HistoryTabViewModel.cs
@@ -138,6 +138,7 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
var trs = txRecordList.Select(txr => new TransactionDetailsViewModel
{
+ WalletName = Wallet.WalletName,
DateTime = txr.DateTime.ToLocalTime(),
Confirmations = txr.Height.Type == HeightType.Chain ? (int)Global.BitcoinStore.SmartHeaderChain.TipHeight - txr.Height.Value + 1 : 0,
AmountBtc = $"{txr.Amount.ToString(fplus: true, trimExcessZero: true)}",

MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/TransactionViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/TransactionViewModel.cs
@@ -34,7 +34,7 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
{
var shell = IoC.Get<IShell>();
- var transactionInfo = shell.Documents?.OfType<TransactionInfoTabViewModel>()?.FirstOrDefault(x => x.Transaction?.TransactionId == TransactionId);
+ var transactionInfo = shell.Documents?.OfType<TransactionInfoTabViewModel>()?.FirstOrDefault(x => x.Transaction?.TransactionId == TransactionId && x.Transaction?.WalletName == WalletName);
if (transactionInfo is null)
{
@@ -78,6 +78,8 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
public string TransactionId => TransactionDetails.TransactionId;
+ public string WalletName => TransactionDetails.WalletName;
+
public bool ClipboardNotificationVisible
{
get => _clipboardNotificationVisible;

Open Transaction Details tab based on wallet name