mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-24 23:23:57 -06: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
1 changed files with 2 additions and 12 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue