RooTicket.vala
[gitlive] / NewBranch.vala
index 572cc62..83284d2 100644 (file)
@@ -205,9 +205,10 @@ public class NewBranch : Object
                        _this.name.el.set_text("wip_NAME_DATE");
                        return;
                }
+               
                var ticket = RooTicket.singleton().getById(ticket_id);
                
-               _this.name.el.set_text("wip_NAME_T%s_%s".printf(ticket.id, ticket.summaryToBranchName());
+               _this.name.el.set_text("wip_NAME_T%s_%s".printf(ticket.id, ticket.summaryToBranchName()));
                
                //GLib.debug ("Selection: %s, %s\n", (string) val1, (string) val2);
             });