Browse Source

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.
Ghostkeeper 7 years ago
parent
commit
c6d1ff0823
1 changed files with 2 additions and 12 deletions
  1. 2 12
      resources/qml/SidebarHeader.qml

+ 2 - 12
resources/qml/SidebarHeader.qml

@@ -281,22 +281,12 @@ Column
             {
             {
                 id: materialInfoLabel
                 id: materialInfoLabel
                 wrapMode: Text.WordWrap
                 wrapMode: Text.WordWrap
-                text: catalog.i18nc("@label","Check material compability");
+                text: catalog.i18nc("@label", "Check material compability");
                 font: UM.Theme.getFont("default");
                 font: UM.Theme.getFont("default");
                 verticalAlignment: Text.AlignVCenter
                 verticalAlignment: Text.AlignVCenter
                 anchors.top: parent.top
                 anchors.top: parent.top
                 anchors.bottom: parent.bottom
                 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
                 MouseArea
                 {
                 {