mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 18:17:43 +00:00
Fixed a bug in tagged hashes UI panel
This commit is contained in:
parent
d1b3e0e6d0
commit
24fe6e35bb
@ -53,9 +53,9 @@ class AddTaggedHashesToHashDbConfigPanel extends javax.swing.JPanel {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
private List<TagName> tagNames;
|
||||
private final Map<String, Boolean> tagNameSelections = new LinkedHashMap<>();
|
||||
private final TagNamesListModel tagsNamesListModel = new TagNamesListModel();
|
||||
private final TagsNamesListCellRenderer tagsNamesRenderer = new TagsNamesListCellRenderer();
|
||||
private Map<String, Boolean> tagNameSelections = new LinkedHashMap<>();
|
||||
private TagNamesListModel tagsNamesListModel = new TagNamesListModel();
|
||||
private TagsNamesListCellRenderer tagsNamesRenderer = new TagsNamesListCellRenderer();
|
||||
private HashDb selectedHashSet = null;
|
||||
|
||||
AddTaggedHashesToHashDbConfigPanel() {
|
||||
@ -78,8 +78,8 @@ class AddTaggedHashesToHashDbConfigPanel extends javax.swing.JPanel {
|
||||
}
|
||||
|
||||
void setConfiguration(HashesReportModuleSettings settings) {
|
||||
// reload tags list. user could have opened a differet case
|
||||
// or there could be no case open (e.g. Command Line report wizard)
|
||||
// Need to reset tags. User may have opened a different case or
|
||||
// there may not be a case open any more (Command Line wizard).
|
||||
customizeComponents();
|
||||
|
||||
// update tag selection
|
||||
@ -93,6 +93,9 @@ class AddTaggedHashesToHashDbConfigPanel extends javax.swing.JPanel {
|
||||
}
|
||||
|
||||
private void customizeComponents() {
|
||||
tagNameSelections = new LinkedHashMap<>();
|
||||
tagsNamesListModel = new TagNamesListModel();
|
||||
tagsNamesRenderer = new TagsNamesListCellRenderer();
|
||||
populateTagNameComponents();
|
||||
populateHashSetComponents();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user