summaryrefslogtreecommitdiff
path: root/src/modlistview.cpp
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2021-01-11 19:44:43 +0100
committerMikaël Capelle <capelle.mikael@gmail.com>2021-01-11 19:44:43 +0100
commit49c2c8f3330edccf54d1b5cc9958295288358c1c (patch)
tree78104ec4a01853e6a3b16b15030c4d8b3a0eb0a1 /src/modlistview.cpp
parent08520822eb91c065a0893da0e2e9d11574450208 (diff)
Add setting to enable/disable collapsible priority depending on the sort order.
Diffstat (limited to 'src/modlistview.cpp')
-rw-r--r--src/modlistview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modlistview.cpp b/src/modlistview.cpp
index 88c588f6..ae905a6e 100644
--- a/src/modlistview.cpp
+++ b/src/modlistview.cpp
@@ -687,7 +687,7 @@ void ModListView::updateGroupByProxy()
else if (groupIndex == GroupBy::NEXUS_ID) {
nextProxy = m_byNexusIdProxy;
}
- else if (m_core->settings().interface().collapsibleSeparators()
+ else if (m_core->settings().interface().collapsibleSeparators(m_sortProxy->sortOrder())
&& m_sortProxy->sortColumn() == ModList::COL_PRIORITY) {
m_byPriorityProxy->setSortOrder(m_sortProxy->sortOrder());
nextProxy = m_byPriorityProxy;