mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 20:45:54 +08:00
Fix QML binding loop warnings for CustomConfiguration.
This commit is contained in:
parent
db71a40acc
commit
55dcf31e3c
@ -205,7 +205,7 @@ Item
|
|||||||
|
|
||||||
Row
|
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.
|
visible: extrudersModel.count > 1 // If there is only one extruder, there is no point to enable/disable that.
|
||||||
|
|
||||||
Label
|
Label
|
||||||
@ -223,7 +223,7 @@ Item
|
|||||||
{
|
{
|
||||||
checked: Cura.MachineManager.activeStack != null ? Cura.MachineManager.activeStack.isEnabled : false
|
checked: Cura.MachineManager.activeStack != null ? Cura.MachineManager.activeStack.isEnabled : false
|
||||||
enabled: !checked || Cura.MachineManager.numberExtrudersEnabled > 1 //Disable if it's the last enabled extruder.
|
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
|
style: UM.Theme.styles.checkbox
|
||||||
|
|
||||||
/* Use a MouseArea to process the click on this checkbox.
|
/* Use a MouseArea to process the click on this checkbox.
|
||||||
@ -242,7 +242,7 @@ Item
|
|||||||
|
|
||||||
Row
|
Row
|
||||||
{
|
{
|
||||||
height: visible ? childrenRect.height: 0
|
height: visible ? UM.Theme.getSize("print_setup_big_item").height : 0
|
||||||
visible: Cura.MachineManager.hasMaterials
|
visible: Cura.MachineManager.hasMaterials
|
||||||
|
|
||||||
Label
|
Label
|
||||||
@ -267,7 +267,7 @@ Item
|
|||||||
tooltip: text
|
tooltip: text
|
||||||
|
|
||||||
width: selectors.controlWidth
|
width: selectors.controlWidth
|
||||||
height: UM.Theme.getSize("print_setup_big_item").height
|
height: parent.height
|
||||||
|
|
||||||
style: UM.Theme.styles.print_setup_header_button
|
style: UM.Theme.styles.print_setup_header_button
|
||||||
activeFocusOnPress: true
|
activeFocusOnPress: true
|
||||||
@ -302,7 +302,7 @@ Item
|
|||||||
|
|
||||||
Row
|
Row
|
||||||
{
|
{
|
||||||
height: visible ? childrenRect.height: 0
|
height: visible ? UM.Theme.getSize("print_setup_big_item").height : 0
|
||||||
visible: Cura.MachineManager.hasVariants
|
visible: Cura.MachineManager.hasVariants
|
||||||
|
|
||||||
Label
|
Label
|
||||||
@ -321,7 +321,7 @@ Item
|
|||||||
id: variantSelection
|
id: variantSelection
|
||||||
text: Cura.MachineManager.activeVariantName
|
text: Cura.MachineManager.activeVariantName
|
||||||
tooltip: Cura.MachineManager.activeVariantName
|
tooltip: Cura.MachineManager.activeVariantName
|
||||||
height: UM.Theme.getSize("print_setup_big_item").height
|
height: parent.height
|
||||||
width: selectors.controlWidth
|
width: selectors.controlWidth
|
||||||
style: UM.Theme.styles.print_setup_header_button
|
style: UM.Theme.styles.print_setup_header_button
|
||||||
activeFocusOnPress: true;
|
activeFocusOnPress: true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user