mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-10 07:15:03 -06:00
Added way to mark toolbutton as error aswell
CURA-2271
This commit is contained in:
parent
9770037398
commit
e0b6e31056
1 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue