Skip to content
Snippets Groups Projects
Commit 1520d815 authored by Eugene Livis's avatar Eugene Livis
Browse files

Reverted

parent 58b69ed7
No related branches found
No related tags found
No related merge requests found
...@@ -246,8 +246,7 @@ void startUp() throws TskCoreException { ...@@ -246,8 +246,7 @@ void startUp() throws TskCoreException {
tagsManager.registerListener(groupManager); tagsManager.registerListener(groupManager);
tagsManager.registerListener(categoryManager); tagsManager.registerListener(categoryManager);
hashSetManager = new HashSetManager(drawableDB); hashSetManager = new HashSetManager(drawableDB);
boolean isStale = isDataSourcesTableStale(); setModelIsStale(isDataSourcesTableStale());
setModelIsStale(isStale);
dbExecutor = getNewDBExecutor(); dbExecutor = getNewDBExecutor();
listeningEnabled.addListener((observable, wasPreviouslyEnabled, isEnabled) -> { listeningEnabled.addListener((observable, wasPreviouslyEnabled, isEnabled) -> {
...@@ -259,7 +258,7 @@ void startUp() throws TskCoreException { ...@@ -259,7 +258,7 @@ void startUp() throws TskCoreException {
*/ */
if (isEnabled && !wasPreviouslyEnabled if (isEnabled && !wasPreviouslyEnabled
&& (Case.getCurrentCaseThrows().getCaseType() == CaseType.SINGLE_USER_CASE) && (Case.getCurrentCaseThrows().getCaseType() == CaseType.SINGLE_USER_CASE)
&& isStale) { && isDataSourcesTableStale()) {
rebuildDrawablesDb(); rebuildDrawablesDb();
} }
} catch (NoCurrentCaseException ex) { } catch (NoCurrentCaseException ex) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment