From 1fc3dfda8cf3b74e11c0425e2c7d65caed14a713 Mon Sep 17 00:00:00 2001
From: Leon Styhre <leon@leonstyhre.com>
Date: Fri, 14 Jan 2022 17:29:20 +0100
Subject: [PATCH] Fixed an issue when changing the grouping setting for custom
 collections.

---
 es-app/src/guis/GuiCollectionSystemsOptions.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/es-app/src/guis/GuiCollectionSystemsOptions.cpp b/es-app/src/guis/GuiCollectionSystemsOptions.cpp
index 6aef1a9ef..315a1e9d1 100644
--- a/es-app/src/guis/GuiCollectionSystemsOptions.cpp
+++ b/es-app/src/guis/GuiCollectionSystemsOptions.cpp
@@ -353,6 +353,8 @@ GuiCollectionSystemsOptions::GuiCollectionSystemsOptions(Window* window, std::st
             if (CollectionSystemsManager::getInstance()->isEditing())
                 CollectionSystemsManager::getInstance()->exitEditMode();
             setNeedsSaving();
+            setNeedsSorting();
+            setNeedsSortingCollections();
             setNeedsCollectionsUpdate();
             setNeedsReloading();
             setNeedsGoToSystem(SystemData::sSystemVector.front());