mirror of
https://github.com/monero-project/monero-gui
synced 2024-11-24 11:17:15 +01:00
main: fix a potential warning
This commit is contained in:
parent
aef4a982dc
commit
c390afd258
3
main.qml
3
main.qml
@ -694,7 +694,8 @@ ApplicationWindow {
|
||||
// Daemon connected
|
||||
leftPanel.networkStatus.connected = currentWallet ? currentWallet.connected() : Wallet.ConnectionStatus_Disconnected
|
||||
|
||||
currentWallet.refreshHeightAsync();
|
||||
if (currentWallet)
|
||||
currentWallet.refreshHeightAsync();
|
||||
}
|
||||
|
||||
function startDaemon(flags){
|
||||
|
Loading…
Reference in New Issue
Block a user