fix #306 (from juergen s.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3859 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2002-03-28 13:15:16 +00:00
parent 7f78d44c27
commit 2895ae04b5
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2002-03-28 Juergen Spitzmueller <j.spitzmueller@gmx.de>
* FormDocument.C (CheckChoiceClass): update the necessary class
settings on class change (fix bug #306)
2002-03-27 Herbert Voss <voss@lyx.org>
* xforms_helpers.h:

View File

@ -1458,7 +1458,11 @@ void FormDocument::CheckChoiceClass(FL_OBJECT * ob, long)
params.textclass = tc;
params.useClassDefaults();
UpdateLayoutDocument(params);
} else {
params.textclass = tc;
UpdateLayoutDocument(params);
}
} else {
// unable to load new style
Alert::alert(_("Conversion Errors!"),