Mercurial > hg > easyhg
comparison src/hgtabwidget.cpp @ 555:a1d210c767ab find
Implement basic search function in both work and history tabs
author | Chris Cannam |
---|---|
date | Wed, 22 Feb 2012 14:54:30 +0000 |
parents | a17c06f773cd |
children | 533519ebc0cb |
comparison
equal
deleted
inserted
replaced
554:930462068dcc | 555:a1d210c767ab |
---|---|
152 void HgTabWidget::updateHistory() | 152 void HgTabWidget::updateHistory() |
153 { | 153 { |
154 m_historyWidget->update(); | 154 m_historyWidget->update(); |
155 } | 155 } |
156 | 156 |
157 void HgTabWidget::setSearchText(QString text) | |
158 { | |
159 m_fileStatusWidget->setSearchText(text); | |
160 m_historyWidget->setSearchText(text); | |
161 } | |
162 | |
157 bool HgTabWidget::canDiff() const | 163 bool HgTabWidget::canDiff() const |
158 { | 164 { |
159 return canRevert(); | 165 return canRevert(); |
160 } | 166 } |
161 | 167 |