mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-21 20:19:32 +08:00
Fix setting values
This commit is contained in:
parent
8aa08944f2
commit
81c6ade445
@ -603,7 +603,10 @@ Item
|
|||||||
decimals: model.unit == "mm" ? 2 : 0
|
decimals: model.unit == "mm" ? 2 : 0
|
||||||
enabled: base.editingEnabled
|
enabled: base.editingEnabled
|
||||||
|
|
||||||
editingFinishedFunction: materialPropertyProvider.setPropertyValue("value", value)
|
editingFinishedFunction: function()
|
||||||
|
{
|
||||||
|
materialPropertyProvider.setPropertyValue("value", parseFloat(valueText.replace(",", ".")))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
UM.ContainerPropertyProvider
|
UM.ContainerPropertyProvider
|
||||||
|
Loading…
x
Reference in New Issue
Block a user