Skip to content

Commit

Permalink
Avoid having to type * before/after the text in the editmultiple widget
Browse files Browse the repository at this point in the history
  • Loading branch information
brisset committed Oct 23, 2013
1 parent 3b03a14 commit 18a3ac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libkstapp/editmultiplewidget.cpp
Expand Up @@ -45,7 +45,7 @@ void EditMultipleWidget::applyFilter(const QString& filter) {
_objectList->clearSelection();

// case insensitive and wildcards
QRegExp re(filter, Qt::CaseInsensitive, QRegExp::Wildcard);
QRegExp re("*" + filter + "*", Qt::CaseInsensitive, QRegExp::Wildcard);

uint c = _objectList->count();
for (uint i = 0; i < c; ++i) {
Expand Down

0 comments on commit 18a3ac6

Please sign in to comment.