Fix Opening Selected Resource

This commit is contained in:
Konloch 2021-07-26 21:52:20 -07:00
parent 265323f33c
commit f7e47540dc
1 changed files with 4 additions and 4 deletions

View File

@ -403,21 +403,21 @@ 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 -> {
/*this.tree.addTreeSelectionListener(arg0 -> {
if (cancel) {
cancel = false;
return;
}
openPath(arg0.getPath());
});
});*/
this.tree.addKeyListener(new KeyListener()
{