Setup accessors for user's preferences

This commit is contained in:
2017-10-15 11:36:27 +02:00
parent ea7491aff7
commit 74ca6a2285
4 changed files with 22 additions and 4 deletions

View File

@@ -240,7 +240,7 @@ void wxUI::LoadUser()
User* user = _kiss->GetUser();
int i;
if (user->_preferences["language"].size())
if (user->GetLanguage().size())
SetLanguage(user->GetLanguage());
else
SetLanguage(SupportedLanguages::languages[0].name);