Fixed Handling currently selected tags when using folder preview selection (Not working Replace button, etc.)

This commit is contained in:
Jindra Petřík
2023-10-01 18:21:38 +02:00
parent 1e266899a5
commit e0b55e0410
6 changed files with 23 additions and 15 deletions
@@ -170,10 +170,10 @@ public class FolderPreviewPanel extends JPanel {
executor.shutdownNow();
executor = Executors.newFixedThreadPool(Configuration.parallelSpeedUp.get() ? Configuration.getParallelThreadCount() : 1);
cachedPreviews.clear();
revalidate();
repaint();
selectedItems.clear();
selectedIndex = -1;
revalidate();
repaint();
((JScrollPane)getParent().getParent()).getVerticalScrollBar().setValue(0);
}