mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 04:19:01 +08:00
Mark setting as disabled in perobject setting panel if it's enabled property requires it
This is a bit different from the rest, since hiding would mean that the setting can't be removed. CURA-7569
This commit is contained in:
parent
19a8bd63ab
commit
5b43c94c0b
@ -237,7 +237,7 @@ Item
|
||||
id: settingLoader
|
||||
width: UM.Theme.getSize("setting").width
|
||||
height: UM.Theme.getSize("section").height
|
||||
|
||||
enabled: provider.properties.enabled === "True"
|
||||
property var definition: model
|
||||
property var settingDefinitionsModel: addedSettingsModel
|
||||
property var propertyProvider: provider
|
||||
|
Loading…
x
Reference in New Issue
Block a user