mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-25 11:51:41 -07: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
1 changed files with 4 additions and 4 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue