diff --git a/Fltk/optionWindow.cpp b/Fltk/optionWindow.cpp
index 9534184e0b0ea16ac60e4347ca13d33063d62063..3fd6b81cfe10285d4e44a7d717a41f3fb8345f3b 100644
--- a/Fltk/optionWindow.cpp
+++ b/Fltk/optionWindow.cpp
@@ -2318,7 +2318,7 @@ optionWindow::optionWindow(int deltaFontSize)
       mesh.value[0]->align(FL_ALIGN_RIGHT);
       mesh.value[0]->callback(mesh_options_ok_cb);
 
-      mesh.value[2] = new Fl_Value_Input
+      mesh.value[2] = new inputValueFloat
         (L + 2 * WB, 2 * WB + 9 * BH, IW, BH, "Element size factor");
       mesh.value[2]->minimum(0.001);
       mesh.value[2]->maximum(1000);