diff options
| author | Wladimir J. van der Laan <[email protected]> | 2012-04-14 08:21:22 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2012-04-14 08:21:22 +0200 |
| commit | b97006729841dc23fff66e65c4f99ce1e916f612 (patch) | |
| tree | b10f7687948642415ad08baa6fa8b368d1df8548 | |
| parent | Add missing tooltip and key shortcut in settings dialog (#1088 without line b... (diff) | |
| download | discoin-b97006729841dc23fff66e65c4f99ce1e916f612.tar.xz discoin-b97006729841dc23fff66e65c4f99ce1e916f612.zip | |
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 3c31f291c..ba33d2b7e 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)); |