From d9bf1dedb8278c4e5c157f4e38621b2d3ba30dfd Mon Sep 17 00:00:00 2001 From: Konloch Date: Wed, 21 Jul 2021 07:19:37 -0700 Subject: [PATCH] Fix Resources Opening Twice This may need to be re-added if anyone notices this removed functionality --- .../bytecodeviewer/gui/resourcelist/ResourceListPane.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/the/bytecode/club/bytecodeviewer/gui/resourcelist/ResourceListPane.java b/src/main/java/the/bytecode/club/bytecodeviewer/gui/resourcelist/ResourceListPane.java index 99aaa9fc..20aace85 100644 --- a/src/main/java/the/bytecode/club/bytecodeviewer/gui/resourcelist/ResourceListPane.java +++ b/src/main/java/the/bytecode/club/bytecodeviewer/gui/resourcelist/ResourceListPane.java @@ -403,12 +403,12 @@ public class ResourceListPane extends TranslatedVisibleComponent implements File tree.expandPath(path); }); - this.tree.addMouseListener(new MouseAdapter() { + /*this.tree.addMouseListener(new MouseAdapter() { @Override public void mousePressed(MouseEvent e) { openPath(tree.getPathForLocation(e.getX(), e.getY())); } - }); + });*/ this.tree.addTreeSelectionListener(arg0 -> { if (cancel) {