mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-19 08:21:22 +00:00
Whenever we are trying to sort, bypass lessThanGeneralPurpose when is not allowed to sort by categories. This will result as bad sortings on Detailed and in
Column views. CCMAIL: peter.penz@gmx.at svn path=/trunk/KDE/kdebase/apps/; revision=717022
This commit is contained in:
parent
93f8093b66
commit
2c689ca4f7
|
@ -219,7 +219,12 @@ bool DolphinView::showHiddenFiles() const
|
|||
|
||||
void DolphinView::setCategorizedSorting(bool categorized)
|
||||
{
|
||||
if (!supportsCategorizedSorting() || (categorized == categorizedSorting())) {
|
||||
if (categorized && !supportsCategorizedSorting()) {
|
||||
setCategorizedSorting(false);
|
||||
return;
|
||||
}
|
||||
|
||||
if (categorized == categorizedSorting()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue