mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-17 22:55:38 +00:00
Removed an unnecessary reload when switching theme sets.
Also removed a leftover debug message.
This commit is contained in:
parent
1454783884
commit
864d88ec8a
|
@ -145,9 +145,6 @@ void GuiMenu::openUIOptions()
|
|||
// if the user is editing a custom collection when switching theme sets.
|
||||
if (CollectionSystemsManager::getInstance()->isEditing())
|
||||
CollectionSystemsManager::getInstance()->exitEditMode();
|
||||
// TODO: Eliminate this extra reload or only execute it when switching from
|
||||
// a legacy theme to a non-legacy theme.
|
||||
ViewController::getInstance()->reloadAll();
|
||||
s->setNeedsSaving();
|
||||
s->setNeedsReloading();
|
||||
s->setNeedsGoToStart();
|
||||
|
@ -408,8 +405,6 @@ void GuiMenu::openUIOptions()
|
|||
->getChild(themeTransitions->getChildIndex() - 1)
|
||||
->setOpacity(1.0f);
|
||||
}
|
||||
|
||||
LOG(LogError) << "SELECTABLE ENTRIES: " << themeTransitions->getNumEntries();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue