Merge pull request #402 from jawallace/gen_info_shouldnt_refresh_tree

don't refresh directory tree when a module data event fires for the general info artifact.
This commit is contained in:
Brian Carrier
2013-12-18 13:25:03 -08:00
@@ -588,6 +588,9 @@ public final class DirectoryTreeTopComponent extends TopComponent implements Dat
respondSelection((Node[]) oldValue, (Node[]) newValue);
} else if (changed.equals(IngestModuleEvent.DATA.toString())) {
final ModuleDataEvent event = (ModuleDataEvent) oldValue;
if (event.getArtifactType() == BlackboardArtifact.ARTIFACT_TYPE.TSK_GEN_INFO) {
return;
}
SwingUtilities.invokeLater(new Runnable() {
@Override
public void run() {