From 88f9b7591292a15ee2c4bd1b4d06ba563053246e Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 19 Dec 2018 12:57:57 +0800 Subject: [PATCH] RepoStatusPopover.bjs RepoStatusPopover.vala --- RepoStatusPopover.bjs | 2 +- RepoStatusPopover.vala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/RepoStatusPopover.bjs b/RepoStatusPopover.bjs index 95f0e436..deadfc29 100644 --- a/RepoStatusPopover.bjs +++ b/RepoStatusPopover.bjs @@ -148,7 +148,7 @@ }, { "listeners" : { - "button_press_event" : "() => {\n\n _this.el.hide();\n Clones.singleton().el.hide();\n MergeBranch.singleton().show(this.ticket, null); \n return false;\n}" + "button_press_event" : "() => {\n\n _this.el.hide();\n Clones.singleton().el.response(-1);\n MergeBranch.singleton().show(this.ticket, null); \n return false;\n}" }, "label" : "Merge branch/ ticket", "xtype" : "Button", diff --git a/RepoStatusPopover.vala b/RepoStatusPopover.vala index 67463451..b4621d18 100644 --- a/RepoStatusPopover.vala +++ b/RepoStatusPopover.vala @@ -587,7 +587,7 @@ public class RepoStatusPopover : Object this.el.button_press_event.connect( () => { _this.el.hide(); - Clones.singleton().el.hide(); + Clones.singleton().el.response(-1); MergeBranch.singleton().show(this.ticket, null); return false; }); -- 2.39.2