diff --git a/xw/widgets/InputWidgets/src/main/scala/uk/ac/surrey/xw/input/Input.scala b/xw/widgets/InputWidgets/src/main/scala/uk/ac/surrey/xw/input/Input.scala index e9c4ad0..dd4de21 100644 --- a/xw/widgets/InputWidgets/src/main/scala/uk/ac/surrey/xw/input/Input.scala +++ b/xw/widgets/InputWidgets/src/main/scala/uk/ac/surrey/xw/input/Input.scala @@ -71,7 +71,7 @@ class TextInput( } class NumericInputKind[W <: NumericInput] extends LabeledPanelWidgetKind[W] { - val newWidget = new TextInput(_, _, _) + val newWidget = new NumericInput(_, _, _) val name = "NUMERIC-INPUT" val numberProperty = new DoubleProperty[W]( "NUMBER",