Fixed an issue when changing the grouping setting for custom collections.

This commit is contained in:
Leon Styhre 2022-01-14 17:29:20 +01:00
parent cd2ef3d179
commit 1fc3dfda8c

View file

@ -353,6 +353,8 @@ GuiCollectionSystemsOptions::GuiCollectionSystemsOptions(Window* window, std::st
if (CollectionSystemsManager::getInstance()->isEditing()) if (CollectionSystemsManager::getInstance()->isEditing())
CollectionSystemsManager::getInstance()->exitEditMode(); CollectionSystemsManager::getInstance()->exitEditMode();
setNeedsSaving(); setNeedsSaving();
setNeedsSorting();
setNeedsSortingCollections();
setNeedsCollectionsUpdate(); setNeedsCollectionsUpdate();
setNeedsReloading(); setNeedsReloading();
setNeedsGoToSystem(SystemData::sSystemVector.front()); setNeedsGoToSystem(SystemData::sSystemVector.front());