mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 15:45:38 +00:00
Fixed an issue when switching theme sets while editing a custom collection.
This commit is contained in:
parent
0243b4bcf8
commit
afa175b437
|
@ -190,6 +190,12 @@ void GuiMenu::openUISettings()
|
|||
Settings::getInstance()->setString("ThemeSet", theme_set->getSelected());
|
||||
CollectionSystemsManager::get()->updateSystemsList();
|
||||
mWindow->setChangedThemeSet();
|
||||
// This is required so that the custom collection system does not disappear
|
||||
// if the user is editing a custom collection when switching theme sets.
|
||||
if (CollectionSystemsManager::get()->isEditing()) {
|
||||
CollectionSystemsManager::get()->exitEditMode();
|
||||
s->setNeedsCollectionsUpdate();
|
||||
}
|
||||
s->setNeedsSaving();
|
||||
s->setNeedsReloading();
|
||||
s->setNeedsGoToStart();
|
||||
|
|
Loading…
Reference in a new issue