Fix two-sides setting in Layout->Document

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1178 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2000-10-31 14:46:24 +00:00
parent dc584364e9
commit 8ffebf9c9f
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2000-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* src/frontends/xforms/FormDocument.C (class_update): fix setting
of two-sided document.
2000-10-31 Juergen Vigna <jug@sad.it>
* src/WorkArea.C (work_area_handler): honor xforms 0.88 defines.

View File

@ -672,7 +672,7 @@ void FormDocument::class_update(BufferParams const & params)
}
fl_set_button(class_->radio_doc_sides_one, 0);
fl_set_button(class_->radio_doc_sides_two, 0);
if (params.sides == 2)
if (params.sides == LyXTextClass::TwoSides)
fl_set_button(class_->radio_doc_sides_two, 1);
else
fl_set_button(class_->radio_doc_sides_one, 1);