mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
Add back unallocated files to dir dree
Dir tree will now load first 10k Content children, be they volumes, layout files, files, dirs, etc.
This commit is contained in:
parent
81e22f1c2b
commit
d2f20a78d9
@ -42,13 +42,13 @@ class ContentChildren extends AbstractContentChildren {
|
||||
List<Content> children = ContentHierarchyVisitor.getChildren(parent);
|
||||
|
||||
// To not display LayoutFiles
|
||||
Iterator<Content> it = children.iterator();
|
||||
while(it.hasNext()) {
|
||||
Content child = it.next();
|
||||
if(child instanceof LayoutFile) {
|
||||
it.remove();
|
||||
}
|
||||
}
|
||||
// Iterator<Content> it = children.iterator();
|
||||
// while(it.hasNext()) {
|
||||
// Content child = it.next();
|
||||
// if(child instanceof LayoutFile) {
|
||||
// it.remove();
|
||||
// }
|
||||
// }
|
||||
|
||||
setKeys(children.subList(0, Math.min(children.size(), MAX_CHILD_COUNT)));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user