diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-04-14 08:21:22 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-04-14 08:21:22 +0200 |
commit | b97006729841dc23fff66e65c4f99ce1e916f612 (patch) | |
tree | b10f7687948642415ad08baa6fa8b368d1df8548 /src | |
parent | 6b8e7eefccf8d27c145d2e694037c2e10984f748 (diff) |
Do not show green tick unless all known blocks are downloaded (fixes #921)
Diffstat (limited to 'src')
-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)); |