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.
This commit is contained in:
Ghostkeeper 2017-08-23 13:33:04 +02:00
parent ab444943cb
commit c6d1ff0823
No known key found for this signature in database
GPG key ID: C5F96EE2BC0F7E75

View file

@ -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
{