diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-04-13 23:27:23 -0700 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-04-13 23:27:23 -0700 |
commit | c1d0547cf6b3db57c197fda3b5c614497a58c9dd (patch) | |
tree | b10f7687948642415ad08baa6fa8b368d1df8548 | |
parent | 6b8e7eefccf8d27c145d2e694037c2e10984f748 (diff) | |
parent | b97006729841dc23fff66e65c4f99ce1e916f612 (diff) |
Merge pull request #1096 from laanwj/2012_04_tick
Do not show green tick unless all known blocks are downloaded (fixes #921)
-rw-r--r-- | src/qt/bitcoingui.cpp | 2 |
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)); |