NewBranch.bjs
[gitlive] / Ticket.vala
index 744b1fb..9857b7f 100644 (file)
@@ -70,7 +70,7 @@ public class Ticket : Object
                 
                var tid = RooTicket.singleton().createTicket(
                
-                       _this.project_id.selectProjectId(),
+                       _this.project_id.selectedProjectId(),
                
                        _this.milestone_id.selectedMilestoneId(),
                        _this.priority_id.selectedPriorityId() ,
@@ -80,8 +80,9 @@ public class Ticket : Object
                        _this.description.el.buffer.text 
                );
                
-               
-                
+               if (this.repo != null) {
+                       NewBranch.singleton().show(this.repo, new Gee.ArrayList<GitMonitorQueue>(), tid);
+               }