diff --git a/src/com/jpexs/decompiler/flash/gui/tagtree/TagTreeContextMenu.java b/src/com/jpexs/decompiler/flash/gui/tagtree/TagTreeContextMenu.java index 7d5426d74..58f5dbdb7 100644 --- a/src/com/jpexs/decompiler/flash/gui/tagtree/TagTreeContextMenu.java +++ b/src/com/jpexs/decompiler/flash/gui/tagtree/TagTreeContextMenu.java @@ -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> tagsToRemoveBySwf = new HashMap<>(); Set swfsToClearCache = new HashSet<>(); @@ -1562,7 +1563,7 @@ public class TagTreeContextMenu extends JPopupMenu { for (SWF swf : swfsToClearCache) { swf.clearAllCache(); } - + mainPanel.refreshTree(); } }