From f095e9050f03af4a6e3a74c4e7309723f59b2aa0 Mon Sep 17 00:00:00 2001 From: Youness Alaoui Date: Thu, 5 Jan 2017 13:14:33 -0500 Subject: [PATCH] T466: Hide the search icon from printer setup When in custom mode in the printer setup pane and a gcode file gets loaded the search icon needs to disappear as well. Reported by @GhostKeeper, and fix provided by @victor9999 --- 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 ecbe64b26a..a3f792d137 100644 --- a/resources/qml/Sidebar.qml +++ b/resources/qml/Sidebar.qml @@ -385,7 +385,7 @@ Rectangle height: settingsModeSelection.height width: visible ? height : 0 - visible: !monitoringPrint && modesListModel.get(base.currentModeIndex) != undefined && modesListModel.get(base.currentModeIndex).showFilterButton + visible: !monitoringPrint && !hideSettings && modesListModel.get(base.currentModeIndex) != undefined && modesListModel.get(base.currentModeIndex).showFilterButton opacity: visible ? 1 : 0 onClicked: sidebarContents.currentItem.toggleFilterField()