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
This commit is contained in:
Richard Heck 2008-10-12 15:29:54 +00:00
parent 542651b0e1
commit 4ececaf03d

View File

@ -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_);
}