From 0fc40d571a96aeae5dc309c4c45980b6cb09e6d2 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Thu, 31 Aug 2017 15:47:29 +0200 Subject: [PATCH] Only make separator visible if the element above and below it are visible The behaviour should be the same, if it was implemented correctly previously. Contributes to issue CURA-4241. --- resources/qml/Sidebar.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/qml/Sidebar.qml b/resources/qml/Sidebar.qml index 66d5c520f5..fa5662e49b 100755 --- a/resources/qml/Sidebar.qml +++ b/resources/qml/Sidebar.qml @@ -97,7 +97,7 @@ Rectangle Rectangle { id: headerSeparator width: parent.width - visible: !monitoringPrint && !hideSettings + visible: settingsModeSelection.visible && header.visible height: visible ? UM.Theme.getSize("sidebar_lining").height : 0 color: UM.Theme.getColor("sidebar_lining") anchors.top: header.bottom