X-Git-Url: http://git.roojs.org/?p=gitlive;a=blobdiff_plain;f=NewBranch.vala;fp=NewBranch.vala;h=03e56b91e7b42d3292f44002709767f432b0e26d;hp=1a3a0793fcae59235abe39dc83c5d653496ed528;hb=87963ea388fba20b1d03d7fb01df3d4886fdccbb;hpb=48f4250d0b6d7d5b08c81514002948d44553173f diff --git a/NewBranch.vala b/NewBranch.vala index 1a3a0793..03e56b91 100644 --- a/NewBranch.vala +++ b/NewBranch.vala @@ -59,11 +59,7 @@ public class NewBranch : Object this.el.response.connect( (self, response_id) => { GLib.debug("got %d", (int) response_id); - if (response_id < 1) { - _this.el.hide(); - this.running = false; - return; - } + @@ -83,6 +79,14 @@ public class NewBranch : Object return; } + + if (response_id < 1) { + _this.el.hide(); + this.running = false; + return; + } + + if (this.repo != null) { var bn = _this.name.el.get_text();