]> git.lyx.org Git - features.git/commitdiff
Re-initiate module filter after dialog re-opening (#12128)
authorJuergen Spitzmueller <spitz@lyx.org>
Thu, 11 Feb 2021 07:07:55 +0000 (08:07 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Thu, 11 Feb 2021 07:07:55 +0000 (08:07 +0100)
src/frontends/qt/GuiDocument.cpp

index 2f2033d67c8803e5dae7703c4cd6f5370850b382..515d30f592fcc36218f76bcfc7b01db9ddca285c 100644 (file)
@@ -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;