1
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:
selsta 2022-10-29 04:55:01 +02:00
parent aef4a982dc
commit c390afd258
No known key found for this signature in database
GPG Key ID: 2EA0A99A8B07AE5E

View File

@ -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){