aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.qml b/main.qml
index 4be6be06..72531ab2 100644
--- a/main.qml
+++ b/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){