mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-14 17:06:16 +00:00
TSK-428: Keyword search export GUI bug
This commit is contained in:
parent
092d011727
commit
4db6a757d0
@ -671,6 +671,7 @@ class KeywordSearchEditListPanel extends javax.swing.JPanel implements ListSelec
|
|||||||
tableModel.resync(currentKeywordList);
|
tableModel.resync(currentKeywordList);
|
||||||
initButtons();
|
initButtons();
|
||||||
} else {
|
} else {
|
||||||
|
currentKeywordList = null;
|
||||||
tableModel.deleteAll();
|
tableModel.deleteAll();
|
||||||
initButtons();
|
initButtons();
|
||||||
}
|
}
|
||||||
|
@ -363,7 +363,7 @@ class KeywordSearchListsManagementPanel extends javax.swing.JPanel {
|
|||||||
fireTableDataChanged();
|
fireTableDataChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
//resync single model entry from handle, then update table
|
//resync single model entry from handle
|
||||||
void resync(String listName) {
|
void resync(String listName) {
|
||||||
TableEntry found = null;
|
TableEntry found = null;
|
||||||
for (TableEntry e : listData) {
|
for (TableEntry e : listData) {
|
||||||
@ -376,7 +376,6 @@ class KeywordSearchListsManagementPanel extends javax.swing.JPanel {
|
|||||||
listData.remove(found);
|
listData.remove(found);
|
||||||
addList(listsHandle.getList(listName));
|
addList(listsHandle.getList(listName));
|
||||||
}
|
}
|
||||||
fireTableDataChanged();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//add list to the model
|
//add list to the model
|
||||||
|
Loading…
x
Reference in New Issue
Block a user