mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
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:
parent
9229dd9371
commit
5f91f39309
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user