mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 02:49:04 +08:00
Added way to mark toolbutton as error aswell
CURA-2271
This commit is contained in:
parent
9770037398
commit
e0b6e31056
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user