On Thu, Jan 17, 2002 at 11:22:39AM +0100, Michael Schmitt wrote: > in the Document layout dialog, change line spacing to "Other" and enter > some arbitrary value. Then leave the dialog and re-open it. Try to > change the line spacing value -> you can't; you have to choose "Other" > again before being able to specify a new value.
thanks for the report. please apply regards john -- "Before seeking vengeance, dig two graves." - Chinese proverb
Index: src/frontends/xforms/ChangeLog =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/xforms/ChangeLog,v retrieving revision 1.252 diff -u -r1.252 ChangeLog --- src/frontends/xforms/ChangeLog 2002/01/17 10:53:14 1.252 +++ src/frontends/xforms/ChangeLog 2002/01/17 11:28:58 @@ -1,5 +1,9 @@ 2002-01-17 John Levon <[EMAIL PROTECTED]> + * FormDocument.C: enable line spacing input properly + +2002-01-17 John Levon <[EMAIL PROTECTED]> + * forms/form_preferences.fd: * form_preferences.h: * form_preferences.C: Index: src/frontends/xforms/FormDocument.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/xforms/FormDocument.C,v retrieving revision 1.83 diff -u -r1.83 FormDocument.C --- src/frontends/xforms/FormDocument.C 2002/01/16 16:34:03 1.83 +++ src/frontends/xforms/FormDocument.C 2002/01/17 11:28:59 @@ -1001,10 +1001,10 @@ fl_set_button(class_->radio_doc_columns_two, 1); else fl_set_button(class_->radio_doc_columns_one, 1); + fl_set_input(class_->input_doc_spacing, ""); + setEnabled(class_->input_doc_spacing, false); - setEnabled(class_->input_doc_spacing, input_length); - switch (params.spacing.getSpace()) { case Spacing::Default: // nothing bad should happen with this case Spacing::Single: @@ -1025,6 +1025,7 @@ char sval[20]; sprintf(sval,"%g",params.spacing.getValue()); fl_set_input(class_->input_doc_spacing, sval); + setEnabled(class_->input_doc_spacing, true); break; } }