mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 16:06:15 +00:00
Remove current case before getting datasources for common files case.
This commit is contained in:
parent
f129cdc49f
commit
d4d6594b4f
@ -35,6 +35,7 @@ import javax.swing.SwingUtilities;
|
||||
import javax.swing.SwingWorker;
|
||||
import org.openide.explorer.ExplorerManager;
|
||||
import org.openide.util.NbBundle;
|
||||
import org.sleuthkit.autopsy.casemodule.Case;
|
||||
import org.sleuthkit.autopsy.casemodule.NoCurrentCaseException;
|
||||
import org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationCase;
|
||||
import org.sleuthkit.autopsy.centralrepository.datamodel.CorrelationDataSource;
|
||||
@ -356,7 +357,7 @@ public final class CommonFilesPanel extends javax.swing.JPanel {
|
||||
protected Map<Integer, String> doInBackground() throws Exception {
|
||||
|
||||
List<CorrelationCase> dataSources = EamDb.getInstance().getCases();
|
||||
|
||||
dataSources.remove(EamDb.getInstance().getCase(Case.getCurrentCase()));
|
||||
Map<Integer, String> caseMap = mapDataSources(dataSources);
|
||||
|
||||
return caseMap;
|
||||
|
Loading…
x
Reference in New Issue
Block a user