Correct setting_validation_error/warning and background/border

I modified these but forgot to commit them.

Contributes to issue CURA-4148.
This commit is contained in:
Ghostkeeper 2017-08-23 13:33:49 +02:00
parent c6d1ff0823
commit adb2fa739b
No known key found for this signature in database
GPG Key ID: C5F96EE2BC0F7E75

View File

@ -17,11 +17,11 @@ QtObject {
{ {
if(control.valueError) if(control.valueError)
{ {
return Theme.getColor("setting_validation_error"); return Theme.getColor("setting_validation_error_background");
} }
else if(control.valueWarning) else if(control.valueWarning)
{ {
return Theme.getColor("setting_validation_warning"); return Theme.getColor("setting_validation_warning_background");
} }
else else
{ {
@ -41,11 +41,11 @@ QtObject {
{ {
if (control.valueError) if (control.valueError)
{ {
return Theme.getColor("setting_validation_error_border"); return Theme.getColor("setting_validation_error");
} }
else if (control.valueWarning) else if (control.valueWarning)
{ {
return Theme.getColor("setting_validation_warning_border"); return Theme.getColor("setting_validation_warning");
} }
else if (control.hovered) else if (control.hovered)
{ {