Remove portraits from cache, when models are removed
This commit is contained in:
parent
a258498117
commit
cdf32d8437
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue