thanks for the hint Juergen.
please apply. john -- "They're talking about a submanifold of space which is a 2-dimensional torus whose cross-sectional radii are on the order of a millimeter. Please make some minimal attempt to understand what's being discussed before declaring it 'drivel'." - AC, /.
Index: frontends/xforms/ChangeLog =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/xforms/ChangeLog,v retrieving revision 1.202 diff -u -r1.202 ChangeLog --- frontends/xforms/ChangeLog 2001/11/28 11:04:31 1.202 +++ frontends/xforms/ChangeLog 2001/11/29 04:04:40 @@ -1,3 +1,7 @@ +2001-11-29 John Levon <[EMAIL PROTECTED]> + + * FormParagraph.C: disallow page breaks in insets + 2001-11-23 John Levon <[EMAIL PROTECTED]> * FormParagraph.C: allow signed space above/below, actually Index: frontends/xforms/FormParagraph.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/xforms/FormParagraph.C,v retrieving revision 1.41 diff -u -r1.41 FormParagraph.C --- frontends/xforms/FormParagraph.C 2001/11/28 11:04:31 1.41 +++ frontends/xforms/FormParagraph.C 2001/11/29 04:04:41 @@ -348,6 +348,10 @@ setEnabled(dialog_->radio_align_left, bool(alignpos & LYX_ALIGN_LEFT)); setEnabled(dialog_->radio_align_right, bool(alignpos & LYX_ALIGN_RIGHT)); + // no inset-text-owned paragraph may have pagebreaks + setEnabled(dialog_->check_pagebreaks_top, !par_->inInset()); + setEnabled(dialog_->check_pagebreaks_bottom, !par_->inInset()); + fl_set_button(dialog_->check_lines_top, par_->params().lineTop()); fl_set_button(dialog_->check_lines_bottom,