Remove portraits from cache, when models are removed

This commit is contained in:
0xb00bface 2021-08-21 14:19:51 +02:00
parent a258498117
commit cdf32d8437
2 changed files with 2 additions and 0 deletions

View File

@ -170,6 +170,7 @@ public class RecordLaterTab extends AbstractRecordedModelsTab implements TabSele
table.getSelectionModel().clearSelection(table.getItems().indexOf(m));
table.getItems().remove(m);
}));
portraitCache.invalidateAll(models);
}
}

View File

@ -359,6 +359,7 @@ public class RecordedModelsTab extends AbstractRecordedModelsTab implements TabS
table.getSelectionModel().clearSelection(table.getItems().indexOf(m));
table.getItems().remove(m);
}));
portraitCache.invalidateAll(models);
}
}