mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-25 13:06:08 +00:00
Update src/app/wallet/view.nim
Co-authored-by: Jonathan Rainville <rainville.jonathan@gmail.com>
This commit is contained in:
parent
b0829a4615
commit
87a34104c2
@ -596,7 +596,7 @@ QtObject:
|
||||
if(self.accounts.rowCount() == 0): return
|
||||
|
||||
let dappAddress = status_settings.getSetting[string](Setting.DappsAddress)
|
||||
var index = self.accounts.getAccountindexByAddress(dappAddress)
|
||||
var index = self.accounts.getAccountIndexByAddress(dappAddress)
|
||||
if index == -1: index = 0
|
||||
let selectedAccount = self.accounts.getAccount(index)
|
||||
if self.dappBrowserAccount.address == selectedAccount.address: return
|
||||
|
Loading…
x
Reference in New Issue
Block a user