mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 09:17:42 +00:00
2541-Keywordlists rename no longer deletes names with unchanged name
This commit is contained in:
parent
bca5a67aeb
commit
ff55fd7412
@ -114,7 +114,8 @@ final class GlobalListSettingsPanel extends javax.swing.JPanel implements Option
|
|||||||
null,
|
null,
|
||||||
null,
|
null,
|
||||||
currentKeywordList.getName());
|
currentKeywordList.getName());
|
||||||
if (listName == null || listName.trim().equals("")) {
|
//if the name is null, empty, or unchanged return without changing anything
|
||||||
|
if (listName == null || listName.trim().equals("") || listName.equals(currentKeywordList.getName())) {
|
||||||
return shouldAdd;
|
return shouldAdd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user