mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
always reload reused children on structure changed
This commit is contained in:
@@ -635,7 +635,7 @@ public final class AsyncTreeModel extends AbstractTreeModel implements Disposabl
|
||||
}
|
||||
else {
|
||||
list.add(found);
|
||||
if (!found.isLoadingRequired() && !removed.containsKey(found.object)) {
|
||||
if (!found.isLoadingRequired() && (deep || !removed.containsKey(found.object))) {
|
||||
reload.add(found.object); // reload reused children if they are inserted
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user