daemonManagerDialog: use new ConnectionStatus enum

This commit is contained in:
Jaquee 2016-11-26 13:16:36 +01:00
parent dd01f59a9c
commit f62bb687df
No known key found for this signature in database
GPG key ID: 384E52B09F45DC39

View file

@ -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();
}