From f3c16198c90c72c7c069746232d703dac5c28bb1 Mon Sep 17 00:00:00 2001 From: fieldOfView Date: Mon, 9 May 2016 08:25:56 +0200 Subject: [PATCH] Only show support extruder selection when printing support is enabled CURA-790 --- resources/qml/SidebarSimple.qml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/qml/SidebarSimple.qml b/resources/qml/SidebarSimple.qml index 9387872276..f3c551ab0c 100644 --- a/resources/qml/SidebarSimple.qml +++ b/resources/qml/SidebarSimple.qml @@ -316,17 +316,21 @@ Item Label { id: supportExtruderLabel + visible: supportCheckBox.checked text: catalog.i18nc("@label:listbox","Print support with:") font: UM.Theme.getFont("default") color: UM.Theme.getColor("text") width: base.width/100* 35 - 2*UM.Theme.getSize("default_margin").width + height: visible ? mainExtruderLabel.height : 0 anchors.left: parent.left anchors.leftMargin: UM.Theme.getSize("default_margin").width anchors.verticalCenter: supportExtruderCombobox.verticalCenter } ComboBox { id: supportExtruderCombobox + visible: supportCheckBox.checked model: extruderModel + height: visible ? mainExtruderCombobox.height : 0 anchors.top: mainExtruderCombobox.bottom anchors.topMargin: UM.Theme.getSize("default_margin").height anchors.left: supportExtruderLabel.right