mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-03 09:29:38 +00:00
main: fix a potential warning
This commit is contained in:
parent
aef4a982dc
commit
c390afd258
1 changed files with 2 additions and 1 deletions
3
main.qml
3
main.qml
|
@ -694,7 +694,8 @@ ApplicationWindow {
|
||||||
// Daemon connected
|
// Daemon connected
|
||||||
leftPanel.networkStatus.connected = currentWallet ? currentWallet.connected() : Wallet.ConnectionStatus_Disconnected
|
leftPanel.networkStatus.connected = currentWallet ? currentWallet.connected() : Wallet.ConnectionStatus_Disconnected
|
||||||
|
|
||||||
currentWallet.refreshHeightAsync();
|
if (currentWallet)
|
||||||
|
currentWallet.refreshHeightAsync();
|
||||||
}
|
}
|
||||||
|
|
||||||
function startDaemon(flags){
|
function startDaemon(flags){
|
||||||
|
|
Loading…
Reference in a new issue