Skip to content

Commit 1b67016

Browse files
committed
Tweak extruder tabs behavior in recommended mode
1 parent 4bdb0d0 commit 1b67016

1 file changed

Lines changed: 12 additions & 1 deletion

File tree

resources/qml/SidebarContents.qml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,22 @@ Cura.RoundedRectangle
5757
anchors.bottom: extruderSelector.bottom
5858
height: UM.Theme.getSize("default_lining").height
5959
color: UM.Theme.getColor("lining")
60-
visible: extruderSelector.visible
60+
visible: extruderSelector.visible && extruderSelector.enabled
6161
}
6262
ExtruderTabs
6363
{
6464
id: extruderSelector
65+
enabled:
66+
{
67+
if (printSetupSelector.contentItem.currentModeIndex == Cura.PrintSetupSelectorContents.Mode.Custom)
68+
{
69+
return true
70+
}
71+
else
72+
{
73+
return extruderConfiguration.visible
74+
}
75+
}
6576

6677
anchors
6778
{

0 commit comments

Comments
 (0)