mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-27 21:01:11 -07: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.enabled)
|
||||||
{
|
{
|
||||||
if(control.valueWarning)
|
if(control.valueError)
|
||||||
|
{
|
||||||
|
return Theme.getColor("setting_validation_error");
|
||||||
|
}
|
||||||
|
else if(control.valueWarning)
|
||||||
{
|
{
|
||||||
return Theme.getColor("setting_validation_warning");
|
return Theme.getColor("setting_validation_warning");
|
||||||
} else
|
} else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue