From 062957c249d4f64945df22d808d930b722a00b2a Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Thu, 31 Aug 2017 15:51:51 +0200 Subject: [PATCH] Hide the header if it would be empty It would be empty if the machine is single extrusion and has no materials or variants. Contributes to issue CURA-4241. --- resources/qml/Sidebar.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/qml/Sidebar.qml b/resources/qml/Sidebar.qml index fa5662e49b..ce146f5831 100755 --- a/resources/qml/Sidebar.qml +++ b/resources/qml/Sidebar.qml @@ -89,6 +89,7 @@ Rectangle SidebarHeader { id: header width: parent.width + visible: machineExtruderCount.properties.value > 1 || Cura.MachineManager.hasMaterials || Cura.MachineManager.hasVariants onShowTooltip: base.showTooltip(item, location, text) onHideTooltip: base.hideTooltip()