mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-19 16:31:21 +00:00
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:
parent
54745c440c
commit
780e42533a
|
@ -785,6 +785,8 @@ void KFileItemModel::slotRefreshItems(const QList<QPair<KFileItem, KFileItem> >&
|
||||||
}
|
}
|
||||||
|
|
||||||
emit itemsChanged(itemRangeList, m_roles);
|
emit itemsChanged(itemRangeList, m_roles);
|
||||||
|
|
||||||
|
resortAllItems();
|
||||||
}
|
}
|
||||||
|
|
||||||
void KFileItemModel::slotClear()
|
void KFileItemModel::slotClear()
|
||||||
|
|
Loading…
Reference in a new issue