main: fix a potential warning

This commit is contained in:
selsta
2022-10-29 04:55:01 +02:00
parent aef4a982dc
commit c390afd258

View File

@@ -694,7 +694,8 @@ ApplicationWindow {
// Daemon connected // Daemon connected
leftPanel.networkStatus.connected = currentWallet ? currentWallet.connected() : Wallet.ConnectionStatus_Disconnected leftPanel.networkStatus.connected = currentWallet ? currentWallet.connected() : Wallet.ConnectionStatus_Disconnected
currentWallet.refreshHeightAsync(); if (currentWallet)
currentWallet.refreshHeightAsync();
} }
function startDaemon(flags){ function startDaemon(flags){