sync progress improvements

This commit is contained in:
Jaquee
2017-01-31 10:34:18 +01:00
parent eb909e1ae7
commit 2586404339
4 changed files with 17 additions and 21 deletions

View File

@@ -42,7 +42,7 @@ Item {
var progressLevel = ((currentBlock/targetBlock) * 100).toFixed(0);
fillLevel = progressLevel
progressText.text = qsTr("Synchronizing blocks %1/%2").arg(currentBlock.toFixed(0)).arg(targetBlock.toFixed(0));
item.visible = (currentWallet.connected !== Wallet.ConnectionStatus_Disconnected) && (currentBlock < targetBlock)
progressBar.visible = currentBlock < targetBlock
}
}