From 9cd0f77e92f5e93cc7167e82c18dc3a3268bf88b Mon Sep 17 00:00:00 2001 From: Anthony Laibe Date: Mon, 2 Aug 2021 10:23:16 +0200 Subject: [PATCH] fix(@desktop/wallet): load collectible on initial account set fixes #3121 --- src/app/wallet/view.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/wallet/view.nim b/src/app/wallet/view.nim index f6f4b3df56..4e72c96f1b 100644 --- a/src/app/wallet/view.nim +++ b/src/app/wallet/view.nim @@ -127,7 +127,7 @@ QtObject: # If it's the first account we ever get, use its list as our first lists if (self.accountsView.accounts.rowCount == 1): self.tokensView.setCurrentAssetList(account.assetList) - discard self.accountsView.setCurrentAccountByIndex(0) + self.setCurrentAccountByIndex(0) proc transactionCompleted*(self: WalletView, success: bool, txHash: string, revertReason: string = "") {.signal.}