mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-13 05:58:33 +00:00
Fixed: Exception on removing item
This commit is contained in:
@@ -1455,6 +1455,7 @@ public class TagTreeContextMenu extends JPopupMenu {
|
||||
}
|
||||
|
||||
if (View.showConfirmDialog(this, confirmationMessage, mainPanel.translate("message.confirm"), JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE) == JOptionPane.YES_OPTION) {
|
||||
tagTree.clearSelection();
|
||||
Map<SWF, List<Tag>> tagsToRemoveBySwf = new HashMap<>();
|
||||
Set<SWF> swfsToClearCache = new HashSet<>();
|
||||
|
||||
@@ -1562,7 +1563,7 @@ public class TagTreeContextMenu extends JPopupMenu {
|
||||
for (SWF swf : swfsToClearCache) {
|
||||
swf.clearAllCache();
|
||||
}
|
||||
|
||||
|
||||
mainPanel.refreshTree();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user