mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-19 04:27:29 +08:00
Fix same property value check.
CURA-9793
This commit is contained in:
parent
435c67f97a
commit
82fd34f168
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user