From 7b8192c879c8d5a0877b1b2a561e83ed0a02ea5e Mon Sep 17 00:00:00 2001 From: jrassa Date: Thu, 6 Apr 2017 17:24:32 -0400 Subject: [PATCH] when loading carousel theme, keep checking system themes until one is found with a system view defined --- es-app/src/views/SystemView.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/es-app/src/views/SystemView.cpp b/es-app/src/views/SystemView.cpp index 272d4c634..03cac7ad9 100644 --- a/es-app/src/views/SystemView.cpp +++ b/es-app/src/views/SystemView.cpp @@ -310,6 +310,9 @@ void SystemView::getViewElements(const std::shared_ptr& theme) getDefaultElements(); + if (!theme->hasView("system")) + return; + const ThemeData::ThemeElement* carouselElem = theme->getElement("system", "systemcarousel", "carousel"); if (carouselElem) getCarouselFromTheme(carouselElem);