aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2012-04-14 08:21:22 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2012-04-14 08:21:22 +0200
commitb97006729841dc23fff66e65c4f99ce1e916f612 (patch)
treeb10f7687948642415ad08baa6fa8b368d1df8548 /src
parent6b8e7eefccf8d27c145d2e694037c2e10984f748 (diff)
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 3c31f291c2..ba33d2b7e0 100644
--- a/src/qt/bitcoingui.cpp
+++ b/src/qt/bitcoingui.cpp
@@ -552,7 +552,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));