mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-07-29 19:22:02 +08:00
Set stepSize
property on SpinBox
that reflects its decimals
CURA-9201
This commit is contained in:
parent
cb359cdfe1
commit
4bb72cdd1a
@ -601,6 +601,7 @@ Item
|
||||
suffix: " " + model.unit
|
||||
to: 99999
|
||||
decimals: model.unit == "mm" ? 2 : 0
|
||||
stepSize: Math.pow(10, -decimals)
|
||||
|
||||
onEditingFinished: materialPropertyProvider.setPropertyValue("value", value)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user