]> git.lyx.org Git - lyx.git/commitdiff
fix #306 (from juergen s.)
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 28 Mar 2002 13:15:16 +0000 (13:15 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 28 Mar 2002 13:15:16 +0000 (13:15 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3859 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/xforms/ChangeLog
src/frontends/xforms/FormDocument.C

index d2fd354ec72d0911ef80fdd4c30f83926fb1c96f..e59fec9d03011ab81c61a2ba73b0f2aa024196e4 100644 (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:
index 72c12f46dd1198015e036a952b77b51bcba30a41..033dbd147cf0b384a129522ed28a3a93411103fe 100644 (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!"),