diff --git a/resources/qml/Widgets/SingleSettingTextField.qml b/resources/qml/Widgets/SingleSettingTextField.qml index 1a8d7ae703..7dde652263 100644 --- a/resources/qml/Widgets/SingleSettingTextField.qml +++ b/resources/qml/Widgets/SingleSettingTextField.qml @@ -87,7 +87,7 @@ UM.TextField function parseValueUpdateSetting() { - if (propertyProvider.properties.value == text || parseInt(propertyProvide.properties.value) == parseInt(text)) + if (propertyProvider.properties.value == text || (parseFloat(propertyProvider.properties.value) == parseFloat(text) && !isNan(parseFloat(text)))) { // Don't set the property value from the control. It already has the same value return