mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 11:17:49 -06:00
Fix enabled state of setting items
Contributes to CURA-1278
This commit is contained in:
parent
f7f9dc036e
commit
5975fa1b0d
1 changed files with 3 additions and 3 deletions
|
@ -34,11 +34,11 @@ ScrollView
|
|||
id: delegate
|
||||
|
||||
width: UM.Theme.getSize("sidebar").width;
|
||||
height: provider.properties.enabled ? UM.Theme.getSize("section").height : 0
|
||||
height: provider.properties.enabled == "True" ? UM.Theme.getSize("section").height : 0
|
||||
Behavior on height { NumberAnimation { duration: 100 } }
|
||||
opacity: provider.properties.enabled ? 1 : 0
|
||||
opacity: provider.properties.enabled == "True" ? 1 : 0
|
||||
Behavior on opacity { NumberAnimation { duration: 100 } }
|
||||
enabled: provider.properties.enabled
|
||||
enabled: provider.properties.enabled == "True"
|
||||
|
||||
property var definition: model
|
||||
property var settingDefinitionsModel: definitionsModel
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue