mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 01:07:52 -06:00
Set stepSize
property on SpinBox
that reflects its decimals
CURA-9201
This commit is contained in:
parent
cb359cdfe1
commit
4bb72cdd1a
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue