mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 08:55:54 +08:00
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:
parent
ab444943cb
commit
c6d1ff0823
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user