mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 07:56:16 +00:00
Fix bug in DeletedContent.DeletedContentChildren.createKeys()
This commit is contained in:
parent
7298add0e3
commit
c00db4b4f6
@ -226,6 +226,7 @@ public class DeletedContent implements AutopsyVisitableItem {
|
||||
protected boolean createKeys(List<AbstractFile> list) {
|
||||
List<AbstractFile> queryList = runFsQuery();
|
||||
if (queryList.size() == MAX_OBJECTS) {
|
||||
queryList.remove(queryList.size() - 1);
|
||||
SwingUtilities.invokeLater(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
@ -236,7 +237,6 @@ public class DeletedContent implements AutopsyVisitableItem {
|
||||
});
|
||||
}
|
||||
|
||||
queryList.remove(queryList.size() - 1);
|
||||
list.addAll(queryList);
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user