mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 02:45:55 +08:00
Disable stepSize in all SpinBoxes where stepSize is a non integer value
This should be enabled. However this is a feature gap of QtControls 2.x
This commit is contained in:
parent
50820048f7
commit
a0e5d66299
@ -243,7 +243,7 @@ Item
|
||||
value: properties.density
|
||||
decimals: 2
|
||||
suffix: " g/cm³"
|
||||
stepSize: 0.01 // spinboxes can only cointain reals, a non-integer value can not be entered as the step size
|
||||
// stepSize: 0.01 // spinboxes can only cointain reals, a non-integer value can not be entered as the step size
|
||||
|
||||
onEditingFinished: base.setMetaDataEntry("properties/density", properties.density, value)
|
||||
onValueChanged: updateCostPerMeter()
|
||||
@ -258,7 +258,7 @@ Item
|
||||
value: properties.diameter
|
||||
decimals: 2
|
||||
suffix: " mm"
|
||||
stepSize: 0.01 // spinboxes can only cointain reals, a non-integer value can not be entered as the step size
|
||||
// stepSize: 0.01 // spinboxes can only cointain reals, a non-integer value can not be entered as the step size
|
||||
|
||||
onEditingFinished:
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user