Mercurial > hg > easyhg
diff 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 |
line wrap: on
line diff
--- a/src/hgtabwidget.cpp Mon Feb 20 18:15:53 2012 +0000 +++ b/src/hgtabwidget.cpp Wed Feb 22 14:54:30 2012 +0000 @@ -154,6 +154,12 @@ m_historyWidget->update(); } +void HgTabWidget::setSearchText(QString text) +{ + m_fileStatusWidget->setSearchText(text); + m_historyWidget->setSearchText(text); +} + bool HgTabWidget::canDiff() const { return canRevert();