Ticket.bjs
[gitlive] / Ticket.vala
index 5354ea2..2746b6d 100644 (file)
@@ -1178,9 +1178,9 @@ public class Ticket : Object
                        invalid = true;
                }
             
-               _this.milestone_id.el.get_style_context().remove_class("warning");      
-               if (_this.milestone_id.selectedProjectId() == "") {
-                       _this.milestone_id.el.get_style_context().add_class("warning");
+               _this.priority_id.el.get_style_context().remove_class("warning");       
+               if (_this.priority_id.selectedPriorityId() == "") {
+                       _this.priority_id.el.get_style_context().add_class("warning");
                        invalid = true;
                }