From 1f84ad70842aa191e34cd92df04a9970aa317cd0 Mon Sep 17 00:00:00 2001 From: Victor Larchenko Date: Fri, 21 Oct 2016 16:13:27 +0600 Subject: [PATCH] T466: Added explanation text on settings panel --- resources/qml/Sidebar.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/qml/Sidebar.qml b/resources/qml/Sidebar.qml index 234e139791..44cad11d09 100644 --- a/resources/qml/Sidebar.qml +++ b/resources/qml/Sidebar.qml @@ -289,7 +289,7 @@ Rectangle Label { id: settingsModeLabel - text: catalog.i18nc("@label:listbox", "Print Setup"); + text: !hideSettings ? catalog.i18nc("@label:listbox", "Print Setup") : catalog.i18nc("@label:listbox","Not possible to modify slicing settings or re-slice\nwhile a GCODE file is open"); anchors.left: parent.left anchors.leftMargin: UM.Theme.getSize("default_margin").width; anchors.top: headerSeparator.bottom @@ -297,7 +297,7 @@ Rectangle width: parent.width * 0.45 - 2 * UM.Theme.getSize("default_margin").width font: UM.Theme.getFont("large") color: UM.Theme.getColor("text") - visible: !monitoringPrint && !hideSettings + visible: !monitoringPrint elide: Text.ElideRight }