mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
do not add "loading.." node to a leaf
This commit is contained in:
@@ -324,7 +324,7 @@ public final class AsyncTreeModel extends AbstractTreeModel implements Disposabl
|
||||
private List<Node> getEntryChildren(Object object) {
|
||||
Node node = getEntry(object);
|
||||
if (node == null) return emptyList();
|
||||
promiseChildren(node);
|
||||
if (node.isLoadingRequired()) promiseChildren(node);
|
||||
return node.getChildren();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user