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