mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-19 16:31:21 +00:00
Fix the reproducible problem after the fix:
- On the icon view, enable categorization - Switch to details view - Go back to the icon view. The categorization has been disabled for the details view to sort correctly. This fixes this problem :) CCMAIL: peter.penz@gmx.at svn path=/trunk/KDE/kdebase/apps/; revision=717051
This commit is contained in:
parent
ccea74a99a
commit
8ff20f6519
|
@ -804,11 +804,16 @@ void DolphinView::createView()
|
|||
|
||||
// ... and recreate it representing the current mode
|
||||
switch (m_mode) {
|
||||
case IconsView:
|
||||
case IconsView: {
|
||||
const KUrl viewPropsUrl = viewPropertiesUrl();
|
||||
const ViewProperties props(viewPropsUrl);
|
||||
|
||||
m_iconsView = new DolphinIconsView(this, m_controller);
|
||||
m_iconsView->setCategoryDrawer(new DolphinCategoryDrawer());
|
||||
view = m_iconsView;
|
||||
setCategorizedSorting(props.categorizedSorting());
|
||||
break;
|
||||
}
|
||||
|
||||
case DetailsView:
|
||||
m_detailsView = new DolphinDetailsView(this, m_controller);
|
||||
|
|
Loading…
Reference in a new issue