RepoStatusPopover.bjs
[gitlive] / RepoStatusPopover.vala
index 6746345..548a11c 100644 (file)
@@ -587,8 +587,10 @@ public class RepoStatusPopover : Object
             this.el.button_press_event.connect( () => {
             
                _this.el.hide();
-               Clones.singleton().el.hide();
-               MergeBranch.singleton().show(this.ticket, null);   
+               Clones.singleton().el.response(-1);
+               if (_this.repos.activeTicket != null) {
+                  MergeBranch.singleton().show(this.repos.activeTicket, null);   
+               }
                 return false;
             });
         }