mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 16:06:15 +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) {
|
protected boolean createKeys(List<AbstractFile> list) {
|
||||||
List<AbstractFile> queryList = runFsQuery();
|
List<AbstractFile> queryList = runFsQuery();
|
||||||
if (queryList.size() == MAX_OBJECTS) {
|
if (queryList.size() == MAX_OBJECTS) {
|
||||||
|
queryList.remove(queryList.size() - 1);
|
||||||
SwingUtilities.invokeLater(new Runnable() {
|
SwingUtilities.invokeLater(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
@ -236,7 +237,6 @@ public class DeletedContent implements AutopsyVisitableItem {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
queryList.remove(queryList.size() - 1);
|
|
||||||
list.addAll(queryList);
|
list.addAll(queryList);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user