Mercurial > hg > easyhg
diff historywidget.cpp @ 147:465c8d51c6d5
* Don't show tip tag; return to using incremental log on commit
author | Chris Cannam |
---|---|
date | Wed, 01 Dec 2010 20:19:21 +0000 |
parents | 644bd31e8301 |
children | 2fef6b0dfbe8 |
line wrap: on
line diff
--- a/historywidget.cpp Wed Dec 01 17:43:43 2010 +0000 +++ b/historywidget.cpp Wed Dec 01 20:19:21 2010 +0000 @@ -221,9 +221,12 @@ if (newid) { DEBUG << "id " << id << " is new" << endl; } - - csit->setCurrent(current); - csit->setNew(newid); + + if (csit->isCurrent() != current || csit->isNew() != newid) { + csit->setCurrent(current); + csit->setNew(newid); + csit->update(); + } } }