mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-12-01 23:01:10 -07: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
1 changed files with 2 additions and 2 deletions
|
|
@ -243,7 +243,7 @@ Item
|
||||||
value: properties.density
|
value: properties.density
|
||||||
decimals: 2
|
decimals: 2
|
||||||
suffix: " g/cm³"
|
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)
|
onEditingFinished: base.setMetaDataEntry("properties/density", properties.density, value)
|
||||||
onValueChanged: updateCostPerMeter()
|
onValueChanged: updateCostPerMeter()
|
||||||
|
|
@ -258,7 +258,7 @@ Item
|
||||||
value: properties.diameter
|
value: properties.diameter
|
||||||
decimals: 2
|
decimals: 2
|
||||||
suffix: " mm"
|
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:
|
onEditingFinished:
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue