]> git.lyx.org Git - features.git/commitdiff
J�rgen S's final tweak to Document->Paper?
authorAngus Leeming <leeming@lyx.org>
Fri, 12 Oct 2001 08:34:29 +0000 (08:34 +0000)
committerAngus Leeming <leeming@lyx.org>
Fri, 12 Oct 2001 08:34:29 +0000 (08:34 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2866 a592a061-630c-0410-9148-cb99ea01b6c8

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

index 6799d95726c2e373b95d9875f9c7f6ab3a593322..b55f3ab4d08767c6ccf47b8b20f2a15f261901ea 100644 (file)
@@ -1,3 +1,7 @@
+2001-10-12  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * FormDocument.C (input): one more tweak...
+
 2001-10-10  Herbert Voss  <voss@perce.de>
 
        * FormTexinfo.[Ch]: some changes to the code
index 5bdef12c4acc170a4c85734150940ead81c2b568..738e25e531c632718808c9848606323351742b03 100644 (file)
@@ -421,7 +421,8 @@ bool FormDocument::input( FL_OBJECT * ob, long data )
                bool const b4size =
                        fl_get_choice(paper_->choice_papersize) == 10;
 
-               fl_set_button(paper_->radio_portrait, int(custom));
+               if (custom)
+                       fl_set_button(paper_->radio_portrait, 1);
 
                bool const use_geom = (custom || a3size || b3size || b4size);