From: Richard Heck Date: Sun, 12 Oct 2008 15:29:54 +0000 (+0000) Subject: Update the modules after we make the document class. This will ensure X-Git-Tag: 1.6.10~3065 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=4ececaf03d8000502b13ad77db695cdf02b81985;p=lyx.git 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 --- 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_); }