Ticket.bjs
[gitlive] / Ticket.vala
index 2746b6d..609cf72 100644 (file)
@@ -1184,6 +1184,17 @@ public class Ticket : Object
                        invalid = true;
                }
                
+               _this.classification_id.el.get_style_context().remove_class("warning"); 
+               if (_this.classification_id.selectedClassificationId() == "") {
+                       _this.classification_id.el.get_style_context().add_class("warning");
+                       invalid = true;
+               }
+               
+                       _this.classification_id.el.get_style_context().remove_class("warning"); 
+               if (_this.classification_id.selectedClassificationId() == "") {
+                       _this.classification_id.el.get_style_context().add_class("warning");
+                       invalid = true;
+               }
                
                if (invalid) {
                        return;