mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-02 09:27:25 -04:00
main: fix a potential warning
This commit is contained in:
3
main.qml
3
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){
|
||||
|
||||
Reference in New Issue
Block a user