mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Inspections ui: expand/collapse tree fixed
This commit is contained in:
+11
-1
@@ -541,7 +541,17 @@ public class SingleInspectionProfilePanel extends JPanel {
|
||||
}
|
||||
});
|
||||
|
||||
myTreeExpander = new DefaultTreeExpander(myTreeTable.getTree());
|
||||
myTreeExpander = new DefaultTreeExpander(myTreeTable.getTree()) {
|
||||
@Override
|
||||
public boolean canExpand() {
|
||||
return myTreeTable.isShowing();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canCollapse() {
|
||||
return myTreeTable.isShowing();
|
||||
}
|
||||
};
|
||||
myProfileFilter = new MyFilterComponent();
|
||||
|
||||
return scrollPane;
|
||||
|
||||
Reference in New Issue
Block a user