diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ebd137a0..f14426439 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ All notable changes to this project will be documented in this file. - PDF Export - NullPointer when font of text is missing - PDF Export - Text position on font change - Writing DefineFont2/3 ascent/descent as SI16 - it's UI16 +- [#1660] Empty thumbnail view on remove item ## [14.3.1] - 2021-03-25 ### Fixed diff --git a/src/com/jpexs/decompiler/flash/gui/tagtree/TagTreeContextMenu.java b/src/com/jpexs/decompiler/flash/gui/tagtree/TagTreeContextMenu.java index 8ea27b316..5715c5453 100644 --- a/src/com/jpexs/decompiler/flash/gui/tagtree/TagTreeContextMenu.java +++ b/src/com/jpexs/decompiler/flash/gui/tagtree/TagTreeContextMenu.java @@ -1476,7 +1476,9 @@ 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(); + if (mainPanel.folderPreviewPanel.selectedItems.isEmpty()) { + tagTree.clearSelection(); + } Map> tagsToRemoveBySwf = new HashMap<>(); Set swfsToClearCache = new HashSet<>();