TSK-428: Keyword search export GUI bug

This commit is contained in:
Dick Fickling 2012-03-28 10:39:08 -04:00
parent 092d011727
commit 4db6a757d0
2 changed files with 2 additions and 2 deletions

View File

@ -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();
} }

View File

@ -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