Fix Resources Opening Twice

This may need to be re-added if anyone notices this removed functionality
This commit is contained in:
Konloch 2021-07-21 07:19:37 -07:00
parent 30385ee7f1
commit d9bf1dedb8
1 changed files with 2 additions and 2 deletions

View File

@ -403,12 +403,12 @@ public class ResourceListPane extends TranslatedVisibleComponent implements File
tree.expandPath(path); tree.expandPath(path);
}); });
this.tree.addMouseListener(new MouseAdapter() { /*this.tree.addMouseListener(new MouseAdapter() {
@Override @Override
public void mousePressed(MouseEvent e) { public void mousePressed(MouseEvent e) {
openPath(tree.getPathForLocation(e.getX(), e.getY())); openPath(tree.getPathForLocation(e.getX(), e.getY()));
} }
}); });*/
this.tree.addTreeSelectionListener(arg0 -> { this.tree.addTreeSelectionListener(arg0 -> {
if (cancel) { if (cancel) {