diff options
| author | selsta <selsta@sent.at> | 2022-10-29 04:55:01 +0200 |
|---|---|---|
| committer | selsta <selsta@sent.at> | 2022-10-29 04:55:01 +0200 |
| commit | c390afd25872fcd8736fec7599ed9144b4214466 (patch) | |
| tree | d44454dac45335cafccd41ae03825b033389dec1 /main.qml | |
| parent | aef4a982dc644b3e971a89c8b65dd57d21d5e085 (diff) | |
| download | monzero-gui-c390afd25872fcd8736fec7599ed9144b4214466.tar.gz monzero-gui-c390afd25872fcd8736fec7599ed9144b4214466.tar.xz monzero-gui-c390afd25872fcd8736fec7599ed9144b4214466.zip | |
main: fix a potential warning
Diffstat (limited to 'main.qml')
| -rw-r--r-- | main.qml | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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){ |
