From 9b0ec931b3bb641930971d356b70d84ba8f383b8 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 19 Dec 2018 12:59:00 +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 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; -- 2.39.2