private void updateModel() {
Set<Changeset> sel = getSelectedChangesets();
data.clear();
data.addAll(shownChangesets);
ChangesetCache cache = ChangesetCache.getInstance();
for (Changeset cs: data) {
if (cache.contains(cs) && cache.get(cs.getId()) != cs) {
cs.mergeFrom(cache.get(cs.getId()));
}
}
sort();
fireIntervalAdded(this, 0, getSize());
setSelectedChangesets(sel);