mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-90112 Can't collapse nodes in file structure tree
This commit is contained in:
@@ -534,6 +534,8 @@ public class FileStructurePopup implements Disposable {
|
||||
new ClickListener() {
|
||||
@Override
|
||||
public boolean onClick(MouseEvent e, int clickCount) {
|
||||
final TreePath path = myTree.getPathForLocation(e.getX(), e.getY());
|
||||
if (path == null) return false; // user wants to expand/collapse a node
|
||||
navigateSelectedElement();
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user