Fix setting values

This commit is contained in:
fieldOfView 2022-05-06 13:25:48 +02:00
parent 8aa08944f2
commit 81c6ade445

View File

@ -603,7 +603,10 @@ Item
decimals: model.unit == "mm" ? 2 : 0
enabled: base.editingEnabled
editingFinishedFunction: materialPropertyProvider.setPropertyValue("value", value)
editingFinishedFunction: function()
{
materialPropertyProvider.setPropertyValue("value", parseFloat(valueText.replace(",", ".")))
}
}
UM.ContainerPropertyProvider