mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-06-01 01:42:56 +08:00
Merge remote-tracking branch 'origin/GP-1897_ghidravore_datatype_tree_filter_not_applied_when_opening_program--SQUASHED'
This commit is contained in:
@@ -1236,10 +1236,13 @@ public class GTree extends JPanel implements BusyListener {
|
|||||||
* @param newNode the node that may cause the tree to refilter.
|
* @param newNode the node that may cause the tree to refilter.
|
||||||
*/
|
*/
|
||||||
public void refilterLater(GTreeNode newNode) {
|
public void refilterLater(GTreeNode newNode) {
|
||||||
if (isFilteringEnabled && filter != null) {
|
if (!isFilteringEnabled || filter == null) {
|
||||||
if (filter.acceptsNode(newNode)) {
|
return;
|
||||||
filterUpdateManager.updateLater();
|
}
|
||||||
}
|
|
||||||
|
// non-leaf nodes may have children that would require filtering
|
||||||
|
if (!newNode.isLeaf() || filter.acceptsNode(newNode)) {
|
||||||
|
filterUpdateManager.updateLater();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user