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