Added way to mark toolbutton as error aswell

CURA-2271
This commit is contained in:
Jaime van Kessel 2016-09-09 11:48:01 +02:00
parent 9770037398
commit e0b6e31056

View file

@ -15,7 +15,11 @@ QtObject {
{
if(control.enabled)
{
if(control.valueWarning)
if(control.valueError)
{
return Theme.getColor("setting_validation_error");
}
else if(control.valueWarning)
{
return Theme.getColor("setting_validation_warning");
} else