mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 21:38:58 +08:00
Merge branch '5.0' of github.com:Ultimaker/Cura into 5.0
This commit is contained in:
commit
c3918da6a5
@ -574,11 +574,11 @@ Item
|
||||
elide: Text.ElideRight
|
||||
verticalAlignment: Qt.AlignVCenter
|
||||
}
|
||||
Cura.SpinBox
|
||||
Cura.NumericTextFieldWithUnit
|
||||
{
|
||||
id: spinBox
|
||||
anchors.left: label.right
|
||||
value:
|
||||
valueText:
|
||||
{
|
||||
// In case the setting is not in the material...
|
||||
if (!isNaN(parseFloat(materialPropertyProvider.properties.value)))
|
||||
@ -598,11 +598,11 @@ Item
|
||||
return 0;
|
||||
}
|
||||
width: settingsPage.columnWidth
|
||||
suffix: " " + model.unit
|
||||
to: 99999
|
||||
maximum: 99999
|
||||
unitText: model.unit
|
||||
decimals: model.unit == "mm" ? 2 : 0
|
||||
|
||||
onEditingFinished: materialPropertyProvider.setPropertyValue("value", value)
|
||||
editingFinishedFunction: materialPropertyProvider.setPropertyValue("value", value)
|
||||
}
|
||||
|
||||
UM.ContainerPropertyProvider
|
||||
|
Loading…
x
Reference in New Issue
Block a user