Commit db93adfb authored by Supernature2k's avatar Supernature2k

fater theme refresh

parent 4b58c3bc
......@@ -7,6 +7,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- Added clock in main menu
- Added missing fav icons for Amigas 3DO and X68k
### Fixed
- Fixed reload of theme when gamelistonly=0
- Fixed HelpMessages not translated
## [18.03.30] - 2018-03-30
......
......@@ -540,11 +540,11 @@ GuiMenu::GuiMenu(Window *window) : GuiComponent(window), mMenu(window, _("MAIN M
s->addWithLabel(theme_set, _("THEME SET"), _(MenuMessages::UI_THEME_HELP_MSG));
std::function<void()> ReloadAll = [this, window] () {
ViewController::get()->goToStart();
ViewController::get()->goToStart();
window->renderShutdownScreen();
delete ViewController::get();
SystemData::deleteSystems();
SystemData::loadConfig();
for (auto systems = SystemData::sSystemVector.begin(); systems != SystemData::sSystemVector.end(); systems++)
(*systems)->loadTheme();
GuiComponent *gui;
while ((gui = window->peekGui()) != NULL) {
window->removeGui(gui);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment