[LyX/master] Re-initiate module filter after dialog re-opening (#12128)
Juergen Spitzmueller
spitz at lyx.org
Thu Feb 11 07:05:38 UTC 2021
commit 2175899f179a09c1ca5a6ec7b0bcf1bbe1487b26
Author: Juergen Spitzmueller <spitz at lyx.org>
Date: Thu Feb 11 08:07:55 2021 +0100
Re-initiate module filter after dialog re-opening (#12128)
---
src/frontends/qt/GuiDocument.cpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/frontends/qt/GuiDocument.cpp b/src/frontends/qt/GuiDocument.cpp
index 2f2033d..515d30f 100644
--- a/src/frontends/qt/GuiDocument.cpp
+++ b/src/frontends/qt/GuiDocument.cpp
@@ -4530,6 +4530,10 @@ void GuiDocument::paramsToDialog()
// clear changed branches cache
changedBranches_.clear();
+ // re-initiate module filter
+ if (!filter_->text().isEmpty())
+ moduleFilterPressed();
+
// reset trackers
nonModuleChanged_ = false;
shellescapeChanged_ = false;
More information about the lyx-cvs
mailing list