From e0b6e31056028780d2a92d4d322e74b768da3904 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Fri, 9 Sep 2016 11:48:01 +0200 Subject: [PATCH] Added way to mark toolbutton as error aswell CURA-2271 --- resources/themes/cura/styles.qml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/resources/themes/cura/styles.qml b/resources/themes/cura/styles.qml index 91a512b6db..96bbf03a45 100644 --- a/resources/themes/cura/styles.qml +++ b/resources/themes/cura/styles.qml @@ -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