comparison src/historywidget.cpp @ 505:1c05e7576ea5

Fix bug #292: "Merge that results in no changes leaves interface in inconsistent state." Show uncommitted state whenever a merge is present, even if no file changes
author Chris Cannam
date Mon, 17 Oct 2011 16:25:02 +0100
parents 61bde1f0ff0a
children 470829a21f98
comparison
equal deleted inserted replaced
504:d972f0cd61b3 505:1c05e7576ea5
83 foreach (QString id, ids) { 83 foreach (QString id, ids) {
84 m_currentIds.push_back(id); 84 m_currentIds.push_back(id);
85 } 85 }
86 86
87 m_refreshNeeded = true; 87 m_refreshNeeded = true;
88 }
89
90 void HistoryWidget::setShowUncommitted(bool showUncommitted)
91 {
92 setCurrent(m_currentIds, m_currentBranch, showUncommitted);
88 } 93 }
89 94
90 void HistoryWidget::parseNewLog(QString log) 95 void HistoryWidget::parseNewLog(QString log)
91 { 96 {
92 DEBUG << "HistoryWidget::parseNewLog: log has " << log.length() << " chars" << endl; 97 DEBUG << "HistoryWidget::parseNewLog: log has " << log.length() << " chars" << endl;