From c6d1ff0823e7efd443f5a696b4f9cf7807a2d78d Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Wed, 23 Aug 2017 13:33:04 +0200 Subject: [PATCH] Don't colour Check Material Compatibility text red upon incompatibility I would've liked it when it became yellow instead, but just keeping it white and displaying the warning icon is sufficient I suppose. Contributes to issue CURA-4148. --- resources/qml/SidebarHeader.qml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/resources/qml/SidebarHeader.qml b/resources/qml/SidebarHeader.qml index 2762543d18..419cb5f2dd 100644 --- a/resources/qml/SidebarHeader.qml +++ b/resources/qml/SidebarHeader.qml @@ -281,22 +281,12 @@ Column { id: materialInfoLabel wrapMode: Text.WordWrap - text: catalog.i18nc("@label","Check material compability"); + text: catalog.i18nc("@label", "Check material compability"); font: UM.Theme.getFont("default"); verticalAlignment: Text.AlignVCenter anchors.top: parent.top anchors.bottom: parent.bottom - color: - { - if (!Cura.MachineManager.isActiveQualitySupported) - { - UM.Theme.getColor("setting_validation_error"); - } - else - { - UM.Theme.getColor("text"); - } - } + color: UM.Theme.getColor("text") MouseArea {