comparison hgtabwidget.cpp @ 129:4986642800f0

* Initial work on showing uncommitted changes (as dashed box) in history graph
author Chris Cannam
date Mon, 29 Nov 2010 20:53:34 +0000
parents fcaf09ee825d
children 1208d9688a8f
comparison
equal deleted inserted replaced
128:fcaf09ee825d 129:4986642800f0
50 } 50 }
51 51
52 void HgTabWidget::setCurrent(QStringList ids) 52 void HgTabWidget::setCurrent(QStringList ids)
53 { 53 {
54 m_historyWidget->setCurrent(ids); 54 m_historyWidget->setCurrent(ids);
55 }
56
57 void HgTabWidget::showUncommittedChanges(bool u)
58 {
59 m_historyWidget->showUncommittedChanges(u);
55 } 60 }
56 61
57 bool HgTabWidget::canCommit() const 62 bool HgTabWidget::canCommit() const
58 { 63 {
59 if (!m_fileStatusWidget->getSelectedAddableFiles().empty()) return false; 64 if (!m_fileStatusWidget->getSelectedAddableFiles().empty()) return false;