From: Alan Knowles Date: Wed, 19 Dec 2018 04:59:00 +0000 (+0800) Subject: RepoStatusPopover.bjs X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=9b0ec931b3bb641930971d356b70d84ba8f383b8 RepoStatusPopover.bjs RepoStatusPopover.vala --- diff --git a/RepoStatusPopover.bjs b/RepoStatusPopover.bjs index ad4c1e39..79e88ca1 100644 --- a/RepoStatusPopover.bjs +++ b/RepoStatusPopover.bjs @@ -148,7 +148,7 @@ }, { "listeners" : { - "button_press_event" : "() => {\n\n _this.el.hide();\n Clones.singleton().el.response(-1);\n if (_this.repo.activeTicket != null) {\n\t MergeBranch.singleton().show(this.repo.activeTicket, null); \n }\n return false;\n}" + "button_press_event" : "() => {\n\n _this.el.hide();\n Clones.singleton().el.response(-1);\n if (_this.repos.activeTicket != null) {\n\t MergeBranch.singleton().show(this.repo.activeTicket, null); \n }\n return false;\n}" }, "label" : "Merge branch/ ticket", "xtype" : "Button", diff --git a/RepoStatusPopover.vala b/RepoStatusPopover.vala index 33cd4028..461c40ea 100644 --- a/RepoStatusPopover.vala +++ b/RepoStatusPopover.vala @@ -588,7 +588,7 @@ public class RepoStatusPopover : Object _this.el.hide(); Clones.singleton().el.response(-1); - if (_this.repo.activeTicket != null) { + if (_this.repos.activeTicket != null) { MergeBranch.singleton().show(this.repo.activeTicket, null); } return false;