diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-05-06 10:46:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-06 10:46:47 +0200 |
commit | 61517b6d3994f419580a89f5ba3270681c442dd6 (patch) | |
tree | d6c82f5848da231ae6c5338f2ffe2b13535a4687 /modules/mono | |
parent | f4ece7e7361ae5e23a80743c9184ac584ad2ce76 (diff) | |
parent | aef3b5681df388358d13bbe53bbafcbf2f905691 (diff) |
Merge pull request #59720 from Vitika9/itemlist-signals
Diffstat (limited to 'modules/mono')
-rw-r--r-- | modules/mono/editor/GodotTools/GodotTools/Build/BuildOutputView.cs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/modules/mono/editor/GodotTools/GodotTools/Build/BuildOutputView.cs b/modules/mono/editor/GodotTools/GodotTools/Build/BuildOutputView.cs index bfc807c01a..ebdaca0ce8 100644 --- a/modules/mono/editor/GodotTools/GodotTools/Build/BuildOutputView.cs +++ b/modules/mono/editor/GodotTools/GodotTools/Build/BuildOutputView.cs @@ -334,8 +334,13 @@ namespace GodotTools.Build } } - private void IssuesListRmbSelected(int index, Vector2 atPosition) + private void IssuesListClicked(int index, Vector2 atPosition, int mouseButtonIndex) { + if (mouseButtonIndex != (int)MouseButton.Right) + { + return; + } + _ = index; // Unused _issuesListContextMenu.Clear(); @@ -375,7 +380,7 @@ namespace GodotTools.Build }; _issuesList.ItemActivated += IssueActivated; _issuesList.AllowRmbSelect = true; - _issuesList.ItemRmbSelected += IssuesListRmbSelected; + _issuesList.ItemClicked += IssuesListClicked; hsc.AddChild(_issuesList); _issuesListContextMenu = new PopupMenu(); |