diff src/historywidget.cpp @ 566:1e76d1009167

Show matching branch names in search results as well as matching on comment
author Chris Cannam
date Wed, 29 Feb 2012 10:44:34 +0000
parents 533519ebc0cb
children 88ec0ae91dcc
line wrap: on
line diff
--- a/src/historywidget.cpp	Wed Feb 29 10:38:28 2012 +0000
+++ b/src/historywidget.cpp	Wed Feb 29 10:44:34 2012 +0000
@@ -326,7 +326,7 @@
         ChangesetItem *csit = dynamic_cast<ChangesetItem *>(it);
         if (!csit) continue;
         
-        bool matched = csit->setSearchText(m_searchText);
+        bool matched = csit->matchSearchText(m_searchText);
         if (matched && (!toFocus || csit->row() < toFocus->row())) {
             toFocus = csit;
         }