Mercurial > hg > easyhg
comparison 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 |
comparison
equal
deleted
inserted
replaced
146:5e16b83374fd | 147:465c8d51c6d5 |
---|---|
219 } | 219 } |
220 bool newid = m_newIds.contains(id); | 220 bool newid = m_newIds.contains(id); |
221 if (newid) { | 221 if (newid) { |
222 DEBUG << "id " << id << " is new" << endl; | 222 DEBUG << "id " << id << " is new" << endl; |
223 } | 223 } |
224 | 224 |
225 csit->setCurrent(current); | 225 if (csit->isCurrent() != current || csit->isNew() != newid) { |
226 csit->setNew(newid); | 226 csit->setCurrent(current); |
227 csit->setNew(newid); | |
228 csit->update(); | |
229 } | |
227 } | 230 } |
228 } | 231 } |
229 | 232 |
230 void HistoryWidget::connectSceneSignals() | 233 void HistoryWidget::connectSceneSignals() |
231 { | 234 { |