Ticket.bjs
[gitlive] / Ticket.vala
index 6e1523c..4ab9edc 100644 (file)
@@ -1202,6 +1202,13 @@ public class Ticket : Object
                        invalid = true;
                }
                
+               _this.summary.el.get_style_context().remove_class("warning");   
+               if (_this.summary.el.buffer.text == "") {
+                       _this.summary.el.get_style_context().add_class("warning");
+                       invalid = true;
+               }
+               
+               
                if (invalid) {
                        return;
                }