mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +02:00
GP-1745 - Updated the program chooser dialog to focus the filter field
by default so users can start filtering when the dialog opens
This commit is contained in:
parent
0f3aa2b9de
commit
03669ba808
4 changed files with 29 additions and 24 deletions
|
@ -362,6 +362,10 @@ public class ProjectDataTreePanel extends JPanel {
|
|||
tree.setFilterVisible(enabled);
|
||||
}
|
||||
|
||||
public Component getFilterField() {
|
||||
return tree.getFilterField();
|
||||
}
|
||||
|
||||
public String[] getExpandedPathsByNodeName() {
|
||||
List<TreePath> expandedPaths = tree.getExpandedPaths(root);
|
||||
if (expandedPaths == null || expandedPaths.size() == 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue