diff --git a/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/GlobalEditListPanel.java b/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/GlobalEditListPanel.java index 227b034683b4b31ef4aeaf6c4009bfd762719a15..8e9d4bb5c529721be6a6816ab6f43b55d31b3b45 100644 --- a/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/GlobalEditListPanel.java +++ b/KeywordSearch/src/org/sleuthkit/autopsy/keywordsearch/GlobalEditListPanel.java @@ -125,6 +125,7 @@ void setButtonStates() { } } + @NbBundle.Messages("GlobalEditListPanel.editKeyword.title=Edit Keyword") /** * Adds keywords to a keyword list, returns true if at least one keyword was successfully added and no * duplicates were found. @@ -139,6 +140,9 @@ private boolean addKeywordsAction(String existingKeywords, boolean isLiteral, bo int dupeCount = 0; int badCount = 1; // Default to 1 so we enter the loop the first time + if (!existingKeywords.isEmpty()){ //if there is an existing keyword then this action was called by the edit button + dialog.setTitle(NbBundle.getMessage(GlobalEditListPanel.class, "GlobalEditListPanel.editKeyword.title")); + } while (badCount > 0) { dialog.setInitialKeywordList(keywordsToRedisplay, isLiteral, isWholeWord); dialog.display();