commit 3b2fee25962b9155a1aa3141a4fa2392629c2569
parent 15f93e3561f36c67abc9eef934facc9aaab9fd64
Author: cfillion <cfillion@users.noreply.github.com>
Date: Thu, 1 Sep 2016 20:08:44 -0400
about repo: add anchors to generated browser filter
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/about.cpp b/src/about.cpp
@@ -397,7 +397,7 @@ void AboutIndexDelegate::findInBrowser()
const string &name = pkg->displayName(m_reapack->config()->browser.showDescs);
ostringstream stream;
- stream << quoted(name) << ' ' << quoted(m_index->name());
+ stream << '^' << quoted(name) << "$ ^" << quoted(m_index->name()) << '$';
browser->setFilter(stream.str());
}