Remove cells from selectedThumbCells, which are not visible anymore
This commit is contained in:
parent
b1f3390a69
commit
79a16674f2
|
@ -363,6 +363,9 @@ public class ThumbOverviewTab extends Tab implements TabSelectionListener {
|
|||
// now update existing cells and create new ones models, which are new in the update
|
||||
createOrUpdateModelCells(nodes, models);
|
||||
|
||||
// remove cells from selectedThumbCells, which are not visible anymore
|
||||
selectedThumbCells.retainAll(nodes);
|
||||
|
||||
// reapply the filter
|
||||
filteredThumbCells.clear();
|
||||
filter();
|
||||
|
|
Loading…
Reference in New Issue