diff --git a/Ingest/src/org/sleuthkit/autopsy/ingest/IngestDialogPanel.java b/Ingest/src/org/sleuthkit/autopsy/ingest/IngestDialogPanel.java index 9ebcdc732b..3a4f646511 100644 --- a/Ingest/src/org/sleuthkit/autopsy/ingest/IngestDialogPanel.java +++ b/Ingest/src/org/sleuthkit/autopsy/ingest/IngestDialogPanel.java @@ -27,11 +27,13 @@ import java.awt.event.WindowEvent; import java.beans.PropertyChangeEvent; import java.beans.PropertyChangeListener; import java.util.ArrayList; +import java.util.Arrays; import java.util.Collection; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.logging.Level; +import javax.swing.JCheckBox; import org.sleuthkit.autopsy.coreutils.Logger; import javax.swing.JPanel; import javax.swing.JTable; @@ -44,6 +46,7 @@ import javax.swing.table.TableColumn; import org.openide.util.Exceptions; import org.sleuthkit.autopsy.casemodule.IngestConfigurator; import org.sleuthkit.autopsy.corecomponents.AdvancedConfigurationDialog; +import org.sleuthkit.autopsy.coreutils.ModuleSettings; import org.sleuthkit.datamodel.Image; /** @@ -410,17 +413,44 @@ public class IngestDialogPanel extends javax.swing.JPanel implements IngestConfi */ @Override public void save() { + // Save the current module if (currentModule != null && currentModule.hasSimpleConfiguration()) { currentModule.saveSimpleConfiguration(); } + // Save this panel + ArrayList modulesEnabled = new ArrayList(); + for(int i=0; i modulesEnabled = new ArrayList(Arrays.asList(list.split(", "))); + // For every row, see if that module name is in the ArrayList + for(int i=0; i