Merge pull request #547 from UdjinM6/v0.12.0.x_fix_sync_progressbar_text

V0.12.0.x fix sync progressbar text
This commit is contained in:
evan82 2015-08-18 08:16:33 -07:00
commit 418a9eeb37

View File

@ -784,6 +784,7 @@ void BitcoinGUI::setNumBlocks(int count)
masternodeSync.RequestedMasternodeAttempt + 1 : MASTERNODE_SYNC_THRESHOLD; masternodeSync.RequestedMasternodeAttempt + 1 : MASTERNODE_SYNC_THRESHOLD;
progress = nAttempt + (masternodeSync.RequestedMasternodeAssets - 1) * MASTERNODE_SYNC_THRESHOLD; progress = nAttempt + (masternodeSync.RequestedMasternodeAssets - 1) * MASTERNODE_SYNC_THRESHOLD;
progressBar->setMaximum(4 * MASTERNODE_SYNC_THRESHOLD); progressBar->setMaximum(4 * MASTERNODE_SYNC_THRESHOLD);
progressBar->setFormat(tr("Synchronizing additional data: %p%"));
progressBar->setValue(progress); progressBar->setValue(progress);
} }