From 4ececaf03d8000502b13ad77db695cdf02b81985 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Sun, 12 Oct 2008 15:29:54 +0000 Subject: [PATCH] Update the modules after we make the document class. This will ensure that we get any new default modules on board. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26866 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiDocument.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontends/qt4/GuiDocument.cpp b/src/frontends/qt4/GuiDocument.cpp index dcc118de19..355d1d91fc 100644 --- a/src/frontends/qt4/GuiDocument.cpp +++ b/src/frontends/qt4/GuiDocument.cpp @@ -1355,8 +1355,8 @@ void GuiDocument::classChanged() // that, if the preceding is skipped and the user has changed the // modules before changing the class, those changes will be lost on // update. But maybe that's what we want? - updateSelectedModules(); bp_.makeDocumentClass(); + updateSelectedModules(); paramsToDialog(bp_); } -- 2.39.5