mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-16 20:15:38 +00:00
when loading carousel theme, keep checking system themes until one is found with a system view defined
This commit is contained in:
parent
bf1c0b841b
commit
7b8192c879
|
@ -310,6 +310,9 @@ void SystemView::getViewElements(const std::shared_ptr<ThemeData>& theme)
|
|||
|
||||
getDefaultElements();
|
||||
|
||||
if (!theme->hasView("system"))
|
||||
return;
|
||||
|
||||
const ThemeData::ThemeElement* carouselElem = theme->getElement("system", "systemcarousel", "carousel");
|
||||
if (carouselElem)
|
||||
getCarouselFromTheme(carouselElem);
|
||||
|
|
Loading…
Reference in a new issue