mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-13 01:37:51 -06:00
Disable "Print Settings" fields for read-only materials
This commit is contained in:
parent
eae5f4d57a
commit
8aa08944f2
2 changed files with 2 additions and 0 deletions
|
@ -38,6 +38,7 @@ UM.TooltipArea
|
|||
|
||||
property alias textField: textFieldWithUnit
|
||||
property alias valueText: textFieldWithUnit.text
|
||||
property alias enabled: textFieldWithUnit.enabled
|
||||
property alias editingFinishedFunction: textFieldWithUnit.editingFinishedFunction
|
||||
|
||||
property string tooltipText: propertyProvider.properties.description ? propertyProvider.properties.description : ""
|
||||
|
|
|
@ -601,6 +601,7 @@ Item
|
|||
maximum: 99999
|
||||
unitText: model.unit
|
||||
decimals: model.unit == "mm" ? 2 : 0
|
||||
enabled: base.editingEnabled
|
||||
|
||||
editingFinishedFunction: materialPropertyProvider.setPropertyValue("value", value)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue