diff --git a/radio/src/gui/colorlcd/radio_theme.cpp b/radio/src/gui/colorlcd/radio_theme.cpp index eda19cab3..398428a42 100644 --- a/radio/src/gui/colorlcd/radio_theme.cpp +++ b/radio/src/gui/colorlcd/radio_theme.cpp @@ -511,6 +511,7 @@ void ThemeSetupPage::setupListbox(FormWindow *window, rect_t r, ThemePersistance auto value = listBox->getSelected(); if (themeColorPreview && authorText && nameText && fileCarosell) { ThemeFile *theme = tp->getThemeByIndex(value); + if (!theme) return; themeColorPreview->setColorList(theme->getColorList()); setAuthor(theme); nameText->setText(theme->getName());