mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-19 16:31:21 +00:00
Fix grouping issue
When switching to a group that is not shown currently, the group headers won't be updated. The root-cause was that the m_groups-cache must be reset when the roles have been changed. CCBUG: 289654
This commit is contained in:
parent
ee26791cee
commit
4dc5714016
|
@ -367,6 +367,7 @@ void KFileItemModel::setRoles(const QSet<QByteArray>& roles)
|
|||
}
|
||||
}
|
||||
|
||||
m_groups.clear();
|
||||
resetRoles();
|
||||
|
||||
QSetIterator<QByteArray> it(roles);
|
||||
|
|
Loading…
Reference in a new issue