Ticket.bjs
[gitlive] / Ticket.vala
index ea18595..6e1523c 100644 (file)
@@ -1196,6 +1196,12 @@ public class Ticket : Object
                        invalid = true;
                }
                
+               _this.summary.el.get_style_context().remove_class("warning");   
+               if (_this.summary.el.get_text() == "") {
+                       _this.summary.el.get_style_context().add_class("warning");
+                       invalid = true;
+               }
+               
                if (invalid) {
                        return;
                }