Fix same property value check.

CURA-9793
This commit is contained in:
Joey de l'Arago 2022-12-08 09:56:36 +01:00
parent 435c67f97a
commit 82fd34f168

View File

@ -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