aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaquee <jaquee.monero@gmail.com>2016-11-26 13:16:36 +0100
committerJaquee <jaquee.monero@gmail.com>2016-11-26 19:37:19 +0100
commitf62bb687dfbb0c84492091de3c734800c3ea9886 (patch)
treebf0019c1cf6e7b1ab89af2fcb73fcb057b5d2d2a
parentdd01f59a9c99a5aeea988218c57ca3f97f0fe785 (diff)
downloadmonzero-gui-f62bb687dfbb0c84492091de3c734800c3ea9886.tar.gz
monzero-gui-f62bb687dfbb0c84492091de3c734800c3ea9886.tar.xz
monzero-gui-f62bb687dfbb0c84492091de3c734800c3ea9886.zip
daemonManagerDialog: use new ConnectionStatus enum
-rw-r--r--main.qml2
1 files changed, 1 insertions, 1 deletions
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();
}