mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-25 23:53:56 -06:00
Hide extruder selector when there is only one extruder.
CURA-9793
This commit is contained in:
parent
5a415b8324
commit
c495f0de3f
1 changed files with 5 additions and 1 deletions
|
@ -68,10 +68,14 @@ RecommendedSettingSection
|
||||||
Layout.preferredHeight: childrenRect.height
|
Layout.preferredHeight: childrenRect.height
|
||||||
settingName: catalog.i18nc("@action:label", "Print with")
|
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.")
|
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
|
settingControl: Cura.SingleSettingExtruderSelectorBar
|
||||||
{
|
{
|
||||||
|
|
||||||
extruderSettingName: "support_extruder_nr"
|
extruderSettingName: "support_extruder_nr"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue