UI: UserSettings: Set default lang before setup

This commit is contained in:
Nodir Temirkhodjaev 2023-12-24 18:47:57 +03:00
parent 66e85a5b64
commit b153a9364f

View File

@ -11,9 +11,9 @@ void UserSettings::setUp()
{
auto settings = IoC<FortSettings>();
setupIni(settings->userPath() + APP_BASE + ".user.ini");
iniUser().setDefaultLanguage(settings->defaultLanguage());
setupIni(settings->userPath() + APP_BASE + ".user.ini");
}
void UserSettings::migrateIniOnStartup()