From 510f428b52bfac93dd677faa80fd95804d5a718d Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Mon, 5 Apr 2021 10:01:32 +0200 Subject: [PATCH] Fixed an issue where the collections were not properly initialized during theme set changes. --- es-app/src/guis/GuiMenu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es-app/src/guis/GuiMenu.cpp b/es-app/src/guis/GuiMenu.cpp index 99bcebf92..f566727b8 100644 --- a/es-app/src/guis/GuiMenu.cpp +++ b/es-app/src/guis/GuiMenu.cpp @@ -187,8 +187,8 @@ void GuiMenu::openUISettings() if (theme_set->getSelected() != Settings::getInstance()->getString("ThemeSet")) { Scripting::fireEvent("theme-changed", theme_set->getSelected(), Settings::getInstance()->getString("ThemeSet")); - CollectionSystemsManager::get()->updateSystemsList(); Settings::getInstance()->setString("ThemeSet", theme_set->getSelected()); + CollectionSystemsManager::get()->updateSystemsList(); s->setNeedsSaving(); s->setNeedsReloading(); s->setInvalidateCachedBackground();