send page: check daemon status after every refresh

This commit is contained in:
Jaquee 2016-11-27 13:35:27 +01:00
parent 01549a3040
commit 3752ec7899
No known key found for this signature in database
GPG Key ID: 384E52B09F45DC39
1 changed files with 1 additions and 0 deletions

View File

@ -299,6 +299,7 @@ ApplicationWindow {
// TODO: implement onDaemonSynced or similar in wallet API and don't start refresh thread before daemon is synced
daemonSynced = (currentWallet.connected != Wallet.ConnectionStatus_Disconnected && dCurrentBlock >= dTargetBlock)
leftPanel.daemonProgress.updateProgress(dCurrentBlock,dTargetBlock);
middlePanel.updateStatus();
// If wallet isnt connected and no daemon is running - Ask
if(currentWallet.connected === Wallet.ConnectionStatus_Disconnected && !daemonManager.running() && !walletInitialized){