diff --git a/main.qml b/main.qml index 7e28a4c6..25b1d81b 100644 --- a/main.qml +++ b/main.qml @@ -680,7 +680,7 @@ ApplicationWindow { console.log(">>> wallet refreshed") // Daemon connected - leftPanel.networkStatus.connected = currentWallet.connected() + leftPanel.networkStatus.connected = currentWallet ? currentWallet.connected() : Wallet.ConnectionStatus_Disconnected currentWallet.refreshHeightAsync(); }