themes: add locales for theme reset

This commit is contained in:
2018-04-11 16:12:03 +02:00
parent 79cb1261f7
commit bfb61a273e
5 changed files with 8 additions and 1 deletions

View File

@@ -186,7 +186,10 @@ int CThemes::Show()
themes.addIntroItems(LOCALE_COLORTHEMEMENU_HEAD2);
//set default theme
themes.addItem(new CMenuForwarder(LOCALE_COLORTHEMEMENU_NEUTRINO_THEME, true, NULL, this, "default_theme", CRCInput::RC_red));
std::string default_theme = DEFAULT_THEME;
CMenuForwarder* fw = new CMenuForwarder(LOCALE_COLORTHEMEMENU_NEUTRINO_THEME, true, default_theme.c_str(), this, "default_theme", CRCInput::RC_red);
themes.addItem(fw);
fw->setHint("", LOCALE_COLORTHEMEMENU_NEUTRINO_THEME_HINT);
initThemesMenu(themes);