_this.dbmodel.loadTickets(curproj == null ? "": curproj.id, tid);
_this.ticketsel.el.get_child().get_style_context().remove_class("warning");
- if (tid != "") { ...
+ if (tid != "") {
var name = RooTicket.singleton().usernameLocal();
var ticket = RooTicket.singleton().getById(tid);
_this.name.el.set_text("wip_%s_T%s_%s".printf(name,ticket.id, ticket.summaryToBranchName()));