mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-18 20:28:01 -06:00
Fix same property value check.
CURA-9793
This commit is contained in:
parent
435c67f97a
commit
82fd34f168
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue