We do not need to update just because the class has been changed.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22466 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2008-01-10 06:22:42 +00:00
parent 9229dd9371
commit 5f91f39309

View File

@ -1188,9 +1188,10 @@ void GuiDocument::classChanged()
{
textclass_type const tc = latexModule->classCO->currentIndex();
bp_.setBaseClass(tc);
if (lyxrc.auto_reset_options)
if (lyxrc.auto_reset_options) {
bp_.useClassDefaults();
updateContents();
updateContents();
}
}