aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2012-04-14 08:21:22 +0200
committerLuke Dashjr <luke-jr+git@utopios.org>2012-04-14 15:33:24 -0400
commita558054709124a7e8208ce164175f7235166bedf (patch)
treea710807d9bdb804e4a89126889e0ead96a5e8f88 /src
parent1f917975359cc086926653075a43d64699a64677 (diff)
downloadbitcoin-a558054709124a7e8208ce164175f7235166bedf.tar.xz
Do not show green tick unless all known blocks are downloaded (fixes #921)
Diffstat (limited to 'src')
-rw-r--r--src/qt/bitcoingui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp
index 3433c6a183..08ccb75b81 100644
--- a/src/qt/bitcoingui.cpp
+++ b/src/qt/bitcoingui.cpp
@@ -480,7 +480,7 @@ void BitcoinGUI::setNumBlocks(int count)
}
// Set icon state: spinning if catching up, tick otherwise
- if(secs < 90*60)
+ if(secs < 90*60 && count >= nTotalBlocks)
{
tooltip = tr("Up to date") + QString(".\n") + tooltip;
labelBlocksIcon->setPixmap(QIcon(":/icons/synced").pixmap(STATUSBAR_ICONSIZE,STATUSBAR_ICONSIZE));