Set right text color if menubutton is disbled

CURA-6848
This commit is contained in:
Jaime van Kessel 2019-10-02 16:39:50 +02:00
parent 8f2caf362d
commit c6850b4f73
No known key found for this signature in database
GPG key ID: 3710727397403C91

View file

@ -49,6 +49,6 @@ Button
anchors.leftMargin: UM.Theme.getSize("wide_margin").width
renderType: Text.NativeRendering
font: UM.Theme.getFont("default")
color: UM.Theme.getColor("text")
color: button.enabled ? UM.Theme.getColor("text") :UM.Theme.getColor("text_inactive")
}
}