Fixed: #1660 Empty thumbnail view on remove item

This commit is contained in:
Jindra Petřík
2021-03-26 20:40:42 +01:00
parent ddcae86830
commit ccedea4d39
2 changed files with 4 additions and 1 deletions

View File

@@ -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

View File

@@ -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<SWF, List<Tag>> tagsToRemoveBySwf = new HashMap<>();
Set<SWF> swfsToClearCache = new HashSet<>();