diff --git a/src/frontends/qt/LayoutBox.cpp b/src/frontends/qt/LayoutBox.cpp index 70d5fd6ad9..444109260c 100644 --- a/src/frontends/qt/LayoutBox.cpp +++ b/src/frontends/qt/LayoutBox.cpp @@ -320,7 +320,7 @@ void LayoutBox::Private::setFilter(QString const & s) lastSel_ = filterModel_->mapToSource(filterModel_->index(sel, 0)).row(); filter_ = s; - filterModel_->setFilterRegExp(charFilterRegExp(filter_)); + filterModel_->setFilterRegularExpression(charFilterRegExp(filter_)); countCategories(); // restore old selection