mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-29 19:55:37 +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 the user is editing a custom collection when switching theme sets.
|
||||||
if (CollectionSystemsManager::getInstance()->isEditing())
|
if (CollectionSystemsManager::getInstance()->isEditing())
|
||||||
CollectionSystemsManager::getInstance()->exitEditMode();
|
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->setNeedsSaving();
|
||||||
s->setNeedsReloading();
|
s->setNeedsReloading();
|
||||||
s->setNeedsGoToStart();
|
s->setNeedsGoToStart();
|
||||||
|
@ -408,8 +405,6 @@ void GuiMenu::openUIOptions()
|
||||||
->getChild(themeTransitions->getChildIndex() - 1)
|
->getChild(themeTransitions->getChildIndex() - 1)
|
||||||
->setOpacity(1.0f);
|
->setOpacity(1.0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
LOG(LogError) << "SELECTABLE ENTRIES: " << themeTransitions->getNumEntries();
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue