NewBranch.bjs
[gitlive] / NewBranch.vala
index 4bc78d2..c33c75b 100644 (file)
@@ -78,7 +78,9 @@ public class NewBranch : Object
                // -- initial load can check the contents of the ticket files on first scan.
                var ticket_id = _this.ticketsel.selectedTicketId();
                
-        
+               if (ticket_id == "") {
+                       _this.ticketsel.el.get_child().get_style_context().add_class("warning");
+               }
                
             if (this.repo != null) {
                var bn = _this.name.el.get_text();