mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 14:04:03 -06:00
Fix QML binding loop warnings for CustomConfiguration.
This commit is contained in:
parent
db71a40acc
commit
55dcf31e3c
1 changed files with 6 additions and 6 deletions
|
@ -205,7 +205,7 @@ Item
|
|||
|
||||
Row
|
||||
{
|
||||
height: visible ? childrenRect.height : 0
|
||||
height: visible ? UM.Theme.getSize("setting_control").height : 0
|
||||
visible: extrudersModel.count > 1 // If there is only one extruder, there is no point to enable/disable that.
|
||||
|
||||
Label
|
||||
|
@ -223,7 +223,7 @@ Item
|
|||
{
|
||||
checked: Cura.MachineManager.activeStack != null ? Cura.MachineManager.activeStack.isEnabled : false
|
||||
enabled: !checked || Cura.MachineManager.numberExtrudersEnabled > 1 //Disable if it's the last enabled extruder.
|
||||
height: UM.Theme.getSize("setting_control").height
|
||||
height: parent.height
|
||||
style: UM.Theme.styles.checkbox
|
||||
|
||||
/* Use a MouseArea to process the click on this checkbox.
|
||||
|
@ -242,7 +242,7 @@ Item
|
|||
|
||||
Row
|
||||
{
|
||||
height: visible ? childrenRect.height: 0
|
||||
height: visible ? UM.Theme.getSize("print_setup_big_item").height : 0
|
||||
visible: Cura.MachineManager.hasMaterials
|
||||
|
||||
Label
|
||||
|
@ -267,7 +267,7 @@ Item
|
|||
tooltip: text
|
||||
|
||||
width: selectors.controlWidth
|
||||
height: UM.Theme.getSize("print_setup_big_item").height
|
||||
height: parent.height
|
||||
|
||||
style: UM.Theme.styles.print_setup_header_button
|
||||
activeFocusOnPress: true
|
||||
|
@ -302,7 +302,7 @@ Item
|
|||
|
||||
Row
|
||||
{
|
||||
height: visible ? childrenRect.height: 0
|
||||
height: visible ? UM.Theme.getSize("print_setup_big_item").height : 0
|
||||
visible: Cura.MachineManager.hasVariants
|
||||
|
||||
Label
|
||||
|
@ -321,7 +321,7 @@ Item
|
|||
id: variantSelection
|
||||
text: Cura.MachineManager.activeVariantName
|
||||
tooltip: Cura.MachineManager.activeVariantName
|
||||
height: UM.Theme.getSize("print_setup_big_item").height
|
||||
height: parent.height
|
||||
width: selectors.controlWidth
|
||||
style: UM.Theme.styles.print_setup_header_button
|
||||
activeFocusOnPress: true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue