Any reason why we can't just do like the attached patch does ?

thanks
john

-- 
"Faced with the prospect of rereading this book, I would rather have 
 my brains ripped out by a plastic fork."
        - Charles Cooper on "Business at the Speed of Thought" 
Index: src/frontends/xforms/FormTabular.C
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/xforms/FormTabular.C,v
retrieving revision 1.27
diff -u -r1.27 FormTabular.C
--- src/frontends/xforms/FormTabular.C  2001/10/24 15:07:39     1.27
+++ src/frontends/xforms/FormTabular.C  2001/12/06 03:50:47
@@ -109,13 +109,13 @@
        longtable_options_.reset(build_longtable_options());
 
        fl_set_input_return(column_options_->input_column_width,
-                           FL_RETURN_END);
+                           FL_RETURN_CHANGED);
        fl_set_input_return(column_options_->input_special_alignment,
-                           FL_RETURN_END);
+                           FL_RETURN_CHANGED);
        fl_set_input_return(cell_options_->input_mcolumn_width,
-                           FL_RETURN_END);
+                           FL_RETURN_CHANGED);
        fl_set_input_return(cell_options_->input_special_multialign,
-                           FL_RETURN_END);
+                           FL_RETURN_CHANGED);
 
        fl_addto_tabfolder(dialog_->tabFolder, _("Tabular"),
                           tabular_options_->form);
@@ -407,7 +407,8 @@
       update();
       return false;
     }
-    if (ob == column_options_->input_column_width) {
+    if (ob == column_options_->input_column_width ||
+       ob == column_options_->choice_value_column_width) {
            string const str =
                    getLengthFromWidgets(column_options_->input_column_width,
                                         column_options_->choice_value_column_width);
@@ -415,7 +416,8 @@
         update(); // update for alignment
         return true;
     }
-    if (ob == cell_options_->input_mcolumn_width) {
+    if (ob == cell_options_->input_mcolumn_width ||
+       ob == cell_options_->choice_value_mcolumn_width) {
            string const str =
                    getLengthFromWidgets(cell_options_->input_mcolumn_width,
                                         cell_options_->choice_value_mcolumn_width);

Reply via email to