forked from j62/ctbrec
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
|
// now update existing cells and create new ones models, which are new in the update
|
||||||
createOrUpdateModelCells(nodes, models);
|
createOrUpdateModelCells(nodes, models);
|
||||||
|
|
||||||
|
// remove cells from selectedThumbCells, which are not visible anymore
|
||||||
|
selectedThumbCells.retainAll(nodes);
|
||||||
|
|
||||||
// reapply the filter
|
// reapply the filter
|
||||||
filteredThumbCells.clear();
|
filteredThumbCells.clear();
|
||||||
filter();
|
filter();
|
||||||
|
|
Loading…
Reference in New Issue