NewBranch.bjs
[gitlive] / NewBranch.vala
index bd6fedd..f41abbc 100644 (file)
@@ -133,6 +133,8 @@ public class NewBranch : Object
          _this.prmodel.loadProjects(curproj == null ? "" : curproj.id);
         
        _this.dbmodel.loadTickets(curproj == null ? "": curproj.id, tid);
+       _this.createbtn.updateState();
+       
        _this.ticketsel.el.get_child().get_style_context().remove_class("warning");
        if (tid != "") { 
                var name = RooTicket.singleton().usernameLocal();
@@ -497,6 +499,8 @@ public class NewBranch : Object
                _this.scrolled_window.el.show();
                 
                _this.view.loadTicket(ticket.id);
+               _this.createbtn.updateState();
+               
                //GLib.debug (//"Selection: %s, %s\n", (string) val1, (string) val2);
             });
         }