git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
1f91797
)
Do not show green tick unless all known blocks are downloaded (fixes #921)
author
Wladimir J. van der Laan
<laanwj@gmail.com>
Sat, 14 Apr 2012 06:21:22 +0000 (08:21 +0200)
committer
Luke Dashjr
<luke-jr+git@utopios.org>
Sat, 14 Apr 2012 19:33:24 +0000 (15:33 -0400)
src/qt/bitcoingui.cpp
patch
|
blob
|
history
diff --git
a/src/qt/bitcoingui.cpp
b/src/qt/bitcoingui.cpp
index
3433c6a
..
08ccb75
100644
(file)
--- a/
src/qt/bitcoingui.cpp
+++ b/
src/qt/bitcoingui.cpp
@@
-480,7
+480,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));