From f62bb687dfbb0c84492091de3c734800c3ea9886 Mon Sep 17 00:00:00 2001 From: Jaquee Date: Sat, 26 Nov 2016 13:16:36 +0100 Subject: [PATCH] daemonManagerDialog: use new ConnectionStatus enum --- main.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.qml b/main.qml index e464fcb7..d0c77338 100644 --- a/main.qml +++ b/main.qml @@ -294,7 +294,7 @@ ApplicationWindow { daemonSynced = (currentWallet.connected != Wallet.ConnectionStatus_Disconnected && dCurrentBlock >= dTargetBlock) // If wallet isnt connected and no daemon is running - Ask - if(!currentWallet.connected && !daemonManager.running() && !walletInitialized){ + if(currentWallet.connected === Wallet.ConnectionStatus_Disconnected && !daemonManager.running() && !walletInitialized){ daemonManagerDialog.open(); }