forked from Public/monero-gui
main: fix a potential warning
This commit is contained in:
1
main.qml
1
main.qml
@@ -694,6 +694,7 @@ ApplicationWindow {
|
|||||||
// Daemon connected
|
// Daemon connected
|
||||||
leftPanel.networkStatus.connected = currentWallet ? currentWallet.connected() : Wallet.ConnectionStatus_Disconnected
|
leftPanel.networkStatus.connected = currentWallet ? currentWallet.connected() : Wallet.ConnectionStatus_Disconnected
|
||||||
|
|
||||||
|
if (currentWallet)
|
||||||
currentWallet.refreshHeightAsync();
|
currentWallet.refreshHeightAsync();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user