mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-12 16:06:15 +00:00
Also fire config data event for imports.
This commit is contained in:
parent
d8baac3f4f
commit
07206aa8f0
@ -298,7 +298,7 @@ public abstract class KeywordSearchListsAbstract {
|
||||
// }
|
||||
changeSupport.firePropertyChange(ListsEvt.LIST_ADDED.toString(), null, name);
|
||||
|
||||
// Let any external listeners know that the hash sets have changed
|
||||
// Let any external listeners know that the sets have changed
|
||||
IngestServices.getDefault().fireModuleConfigDataEvent(new ModuleConfigDataEvent(KeywordSearchIngestModule.MODULE_NAME));
|
||||
} else {
|
||||
theLists.put(name, new KeywordSearchList(name, curList.getDateCreated(), now, useForIngest, ingestMessages, newList, locked));
|
||||
@ -382,6 +382,9 @@ public abstract class KeywordSearchListsAbstract {
|
||||
|
||||
for (KeywordSearchList list : newLists) {
|
||||
changeSupport.firePropertyChange(ListsEvt.LIST_ADDED.toString(), null, list.getName());
|
||||
|
||||
// Let any external listeners know that the sets have changed
|
||||
IngestServices.getDefault().fireModuleConfigDataEvent(new ModuleConfigDataEvent(KeywordSearchIngestModule.MODULE_NAME));
|
||||
}
|
||||
for (KeywordSearchList over : overwritten) {
|
||||
changeSupport.firePropertyChange(ListsEvt.LIST_UPDATED.toString(), null, over.getName());
|
||||
@ -405,7 +408,7 @@ public abstract class KeywordSearchListsAbstract {
|
||||
}
|
||||
changeSupport.firePropertyChange(ListsEvt.LIST_DELETED.toString(), null, name);
|
||||
|
||||
// Let any external listeners know that the hash sets have changed
|
||||
// Let any external listeners know that the sets have changed
|
||||
IngestServices.getDefault().fireModuleConfigDataEvent(new ModuleConfigDataEvent(KeywordSearchIngestModule.MODULE_NAME));
|
||||
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user