X-Git-Url: http://git.roojs.org/?p=gitlive;a=blobdiff_plain;f=NewBranch.vala;h=602922edb30568ab45f7266e8044ec4590dcf48a;hp=7617e452835f18ba8e26c3e2248ec7f0124fafb7;hb=1ca3cefd12af4ec1e3cfa3469fbcfc1afc129723;hpb=2a6a46caf4f1d149a8e72cb0fb0c90f9923a27bb diff --git a/NewBranch.vala b/NewBranch.vala index 7617e452..602922ed 100644 --- a/NewBranch.vala +++ b/NewBranch.vala @@ -78,7 +78,7 @@ public class NewBranch : Object if (ticket_id != "" ) { this.repo.setActiveTicket( RooTicket.singleton().getById(ticket_id), bn); } else { - this.repo.createBranchNamed(bn); + this.repo.setActiveTicket( RooTicket.singleton().getById("-1"), bn); } }