Fixup c39d5b76: the wrong branch of #if was retained.

This commit is contained in:
Jean-Marc Lasgouttes 2024-10-23 15:34:27 +02:00
parent 438fed6b62
commit 88e092ae02

View File

@ -320,7 +320,7 @@ void LayoutBox::Private::setFilter(QString const & s)
lastSel_ = filterModel_->mapToSource(filterModel_->index(sel, 0)).row(); lastSel_ = filterModel_->mapToSource(filterModel_->index(sel, 0)).row();
filter_ = s; filter_ = s;
filterModel_->setFilterRegExp(charFilterRegExp(filter_)); filterModel_->setFilterRegularExpression(charFilterRegExp(filter_));
countCategories(); countCategories();
// restore old selection // restore old selection