[LyX/master] Fixup c39d5b76: the wrong branch of #if was retained.
Jean-Marc Lasgouttes
lasgouttes at lyx.org
Wed Oct 23 14:31:41 UTC 2024
commit 88e092ae02bbc1f0aaecb40e5ab49e4540d6575a
Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
Date: Wed Oct 23 15:34:27 2024 +0200
Fixup c39d5b76: the wrong branch of #if was retained.
---
src/frontends/qt/LayoutBox.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
More information about the lyx-cvs
mailing list