Mercurial > hg > easyhg
comparison hgtabwidget.cpp @ 145:644bd31e8301
* Include the uncommitted item in general graph layout (in case it is not at the head, when other items will need to avoid it)
author | Chris Cannam |
---|---|
date | Wed, 01 Dec 2010 17:41:14 +0000 |
parents | e6c6b88d19b9 |
children | 2fef6b0dfbe8 |
comparison
equal
deleted
inserted
replaced
143:f61f032b06f9 | 145:644bd31e8301 |
---|---|
71 void HgTabWidget::clearSelections() | 71 void HgTabWidget::clearSelections() |
72 { | 72 { |
73 m_fileStatusWidget->clearSelections(); | 73 m_fileStatusWidget->clearSelections(); |
74 } | 74 } |
75 | 75 |
76 void HgTabWidget::setCurrent(QStringList ids) | 76 void HgTabWidget::setCurrent(QStringList ids, bool showUncommittedChanges) |
77 { | 77 { |
78 m_historyWidget->setCurrent(ids); | 78 m_historyWidget->setCurrent(ids, showUncommittedChanges); |
79 } | |
80 | |
81 void HgTabWidget::showUncommittedChanges(bool u) | |
82 { | |
83 m_historyWidget->showUncommittedChanges(u); | |
84 } | 79 } |
85 | 80 |
86 bool HgTabWidget::canCommit() const | 81 bool HgTabWidget::canCommit() const |
87 { | 82 { |
88 if (!m_fileStatusWidget->getSelectedAddableFiles().empty()) return false; | 83 if (!m_fileStatusWidget->getSelectedAddableFiles().empty()) return false; |