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:
dev747368 2019-12-11 10:09:28 -05:00
parent c75dcfd1f5
commit 9baf8d840c

View file

@ -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());