mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +02:00
GT-3325 fix problem with data type archive node adding twice to tree
Tree node for a data type archive could be added twice, causing display problems and NPE when closing because of double-closing.
This commit is contained in:
parent
c75dcfd1f5
commit
9baf8d840c
1 changed files with 1 additions and 1 deletions
|
@ -225,8 +225,8 @@ public class ArchiveRootNode extends DataTypeTreeNode {
|
|||
int index = Collections.binarySearch(allChildrenList, node);
|
||||
if (index < 0) {
|
||||
index = -index - 1;
|
||||
addNode(index, node);
|
||||
}
|
||||
addNode(index, node);
|
||||
// kick tree to refilter if filter in place so that nodes will stay expaned see
|
||||
// SCR #7895
|
||||
// tree.setFilterText(tree.getFilterText());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue