]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormMinipage.C
Bugfixes: checkboxes to radiobuttons (from J�rgen S) and remove a little
[lyx.git] / src / frontends / xforms / FormMinipage.C
index b06603c76b1c295cedb78ff216b34504bd1c1abb..4e9ec3a12645f46e548a2f353cbde73db341ceef 100644 (file)
@@ -60,8 +60,8 @@ void FormMinipage::build()
 void FormMinipage::apply()
 {
        controller().params().pageWidth =
-               getLengthFromWidgets(dialog_->input_width,
-                       dialog_->choice_width_units);
+               LyXLength(getLengthFromWidgets(dialog_->input_width,
+                       dialog_->choice_width_units));
 
        if (fl_get_button(dialog_->radio_top))
                controller().params().pos = InsetMinipage::top;