Resort items when they have been changed

This assures that when renaming an item the sort-position will be adjusted. Thanks to Frank Reininghaus and Janardhan Reddy for the patch and the tests.

BUG: 288311
This commit is contained in:
Peter Penz 2011-12-10 12:23:06 +01:00
parent 54745c440c
commit 780e42533a

View file

@ -785,6 +785,8 @@ void KFileItemModel::slotRefreshItems(const QList<QPair<KFileItem, KFileItem> >&
}
emit itemsChanged(itemRangeList, m_roles);
resortAllItems();
}
void KFileItemModel::slotClear()