Merge pull request #398 from pjft/fix-theme-collection-crash

Fix crash when changing theme
This commit is contained in:
Jools Wills 2018-04-01 16:46:22 +01:00 committed by GitHub
commit 4e6dcde5a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -261,6 +261,7 @@ void GuiMenu::openUISettings()
if(needReload) if(needReload)
{ {
CollectionSystemManager::get()->updateSystemsList(); CollectionSystemManager::get()->updateSystemsList();
ViewController::get()->goToStart();
ViewController::get()->reloadAll(); // TODO - replace this with some sort of signal-based implementation ViewController::get()->reloadAll(); // TODO - replace this with some sort of signal-based implementation
} }
}); });