Skip to content

Commit daf7747

Browse files
authored
Merge pull request #2984 from wschaeferB/2908-RemoveExaminerModeRestrictions
2908 no longer disabling the add data source action in Examiner mode
2 parents 0d4a008 + c6af9f8 commit daf7747

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

Experimental/src/org/sleuthkit/autopsy/experimental/autoingest/AutoIngestCaseManager.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -108,16 +108,5 @@ synchronized void openCase(Path caseMetadataFilePath) throws CaseActionException
108108
* Open the case.
109109
*/
110110
Case.openAsCurrentCase(caseMetadataFilePath.toString());
111-
112-
/**
113-
* Disable the add data source action in auto ingest examiner mode. This
114-
* has to be done here because Case.open() calls Case.doCaseChange() and
115-
* the latter method enables the action. Since Case.doCaseChange()
116-
* enables the menus on EDT by calling SwingUtilities.invokeLater(), we
117-
* have to do the same thing here to maintain the order of execution.
118-
*/
119-
SwingUtilities.invokeLater(() -> {
120-
CallableSystemAction.get(AddImageAction.class).setEnabled(false);
121-
});
122111
}
123112
}

0 commit comments

Comments
 (0)