]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormFloat.C
Bugfixes: checkboxes to radiobuttons (from J�rgen S) and remove a little
[lyx.git] / src / frontends / xforms / FormFloat.C
index b086c544c43336fbfff8608aefb229f1d31d945f..154559f4a7a2b793702fcc999806e6242f0fb2cf 100644 (file)
@@ -21,6 +21,7 @@
 #include "FormFloat.h"
 #include "form_float.h"
 #include "support/lstrings.h"
+#include "xforms_helpers.h"
 
 typedef FormCB<ControlFloat, FormDB<FD_form_float> > base_class;
 
@@ -105,6 +106,7 @@ void FormFloat::update()
        fl_set_button(dialog_->radio_page, page);
        fl_set_button(dialog_->radio_here, here);
        fl_set_button(dialog_->button_here_definitely, here_definitely);
+       setEnabled(dialog_->button_here_definitely, controller().params().allow_here_definitely);
 }