aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2012-04-13 23:27:23 -0700
committerWladimir J. van der Laan <laanwj@gmail.com>2012-04-13 23:27:23 -0700
commitc1d0547cf6b3db57c197fda3b5c614497a58c9dd (patch)
treeb10f7687948642415ad08baa6fa8b368d1df8548 /src
parent6b8e7eefccf8d27c145d2e694037c2e10984f748 (diff)
parentb97006729841dc23fff66e65c4f99ce1e916f612 (diff)
Merge pull request #1096 from laanwj/2012_04_tick
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));