mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 09:17:42 +00:00
Put call to updateGUIForCaseOpen back to its original location
This commit is contained in:
parent
0dac3815b5
commit
071c4bcff9
@ -1034,6 +1034,10 @@ public class Case {
|
|||||||
}
|
}
|
||||||
newCurrentCase.doOpenCaseAction(progressIndicatorTitle, openCaseAction, CaseLockType.SHARED, true, null);
|
newCurrentCase.doOpenCaseAction(progressIndicatorTitle, openCaseAction, CaseLockType.SHARED, true, null);
|
||||||
currentCase = newCurrentCase;
|
currentCase = newCurrentCase;
|
||||||
|
logger.log(Level.INFO, "Opened {0} ({1}) in {2} as the current case", new Object[]{newCurrentCase.getDisplayName(), newCurrentCase.getName(), newCurrentCase.getCaseDirectory()}); //NON-NLS
|
||||||
|
if (RuntimeProperties.runningWithGUI()) {
|
||||||
|
updateGUIForCaseOpened(newCurrentCase);
|
||||||
|
}
|
||||||
eventPublisher.publishLocally(new AutopsyEvent(Events.CURRENT_CASE.toString(), null, currentCase));
|
eventPublisher.publishLocally(new AutopsyEvent(Events.CURRENT_CASE.toString(), null, currentCase));
|
||||||
} catch (CaseActionCancelledException ex) {
|
} catch (CaseActionCancelledException ex) {
|
||||||
logger.log(Level.INFO, String.format("Cancelled opening %s (%s) in %s as the current case", newCurrentCase.getDisplayName(), newCurrentCase.getName(), newCurrentCase.getCaseDirectory())); //NON-NLS
|
logger.log(Level.INFO, String.format("Cancelled opening %s (%s) in %s as the current case", newCurrentCase.getDisplayName(), newCurrentCase.getName(), newCurrentCase.getCaseDirectory())); //NON-NLS
|
||||||
@ -2144,12 +2148,6 @@ public class Case {
|
|||||||
throw ex;
|
throw ex;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.log(Level.INFO, "Opened {0} ({1}) in {2} as the current case", new Object[]{this.getDisplayName(), this.getName(), this.getCaseDirectory()}); //NON-NLS
|
|
||||||
if (RuntimeProperties.runningWithGUI()) {
|
|
||||||
updateGUIForCaseOpened(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
});
|
});
|
||||||
if (null != cancelButtonListener) {
|
if (null != cancelButtonListener) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user