Fixed locale loading. Oops.

This commit is contained in:
casey langen 2017-03-16 17:22:53 -07:00
parent 9af32e8afc
commit a996b95bc6

View File

@ -125,7 +125,6 @@ bool Locale::SetSelectedLocale(const std::string& locale) {
if (!this->localeData.is_null()) {
this->selectedLocale = locale;
this->localeData = nlohmann::json({});
prefs->SetString(keys::Locale, this->selectedLocale.c_str());
prefs->Save();