From c495f0de3fa4866e915e57a50e8da2119fb499ec Mon Sep 17 00:00:00 2001 From: Joey de l'Arago Date: Mon, 5 Dec 2022 17:11:05 +0100 Subject: [PATCH] Hide extruder selector when there is only one extruder. CURA-9793 --- .../Recommended/RecommendedSupportSelector.qml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/resources/qml/PrintSetupSelector/Recommended/RecommendedSupportSelector.qml b/resources/qml/PrintSetupSelector/Recommended/RecommendedSupportSelector.qml index 457585936f..50bfbcbbcf 100644 --- a/resources/qml/PrintSetupSelector/Recommended/RecommendedSupportSelector.qml +++ b/resources/qml/PrintSetupSelector/Recommended/RecommendedSupportSelector.qml @@ -68,10 +68,14 @@ RecommendedSettingSection Layout.preferredHeight: childrenRect.height settingName: catalog.i18nc("@action:label", "Print with") tooltipText: catalog.i18nc("support_extruder_nr description", "The extruder train to use for printing the support. This is used in multi-extrusion.") - isCompressed: enableSupportRow.isCompressed + // Hide this component when there is only one extruder + enabled: machineExtruderCount.properties.value > 1 + visible: machineExtruderCount.properties.value > 1 + isCompressed: enableSupportRow.isCompressed || machineExtruderCount.properties.value <= 1 settingControl: Cura.SingleSettingExtruderSelectorBar { + extruderSettingName: "support_extruder_nr" } },