Disable "Print Settings" fields for read-only materials

This commit is contained in:
fieldOfView 2022-05-06 13:11:49 +02:00
parent eae5f4d57a
commit 8aa08944f2
2 changed files with 2 additions and 0 deletions

View file

@ -601,6 +601,7 @@ Item
maximum: 99999
unitText: model.unit
decimals: model.unit == "mm" ? 2 : 0
enabled: base.editingEnabled
editingFinishedFunction: materialPropertyProvider.setPropertyValue("value", value)
}