Update info about selected translation language if user changed it.
This commit is contained in:
parent
791aa22050
commit
a459e41f1d
|
@ -125,6 +125,7 @@ auto PuzzlePreferencesConfigurationPage::Apply() -> QStringList
|
|||
{
|
||||
const auto locale = qvariant_cast<QString>(ui->langCombo->currentData());
|
||||
settings->SetLocale(locale);
|
||||
VGAnalytics::Instance()->SetGUILanguage(settings->GetLocale());
|
||||
m_langChanged = false;
|
||||
|
||||
VAbstractApplication::VApp()->LoadTranslation(locale);
|
||||
|
|
|
@ -128,6 +128,7 @@ auto TapePreferencesConfigurationPage::Apply() -> QStringList
|
|||
{
|
||||
const auto locale = qvariant_cast<QString>(ui->langCombo->currentData());
|
||||
settings->SetLocale(locale);
|
||||
VGAnalytics::Instance()->SetGUILanguage(settings->GetLocale());
|
||||
m_langChanged = false;
|
||||
|
||||
const auto code = qvariant_cast<QString>(ui->systemCombo->currentData());
|
||||
|
|
|
@ -221,6 +221,7 @@ auto PreferencesConfigurationPage::Apply() -> QStringList
|
|||
{
|
||||
const auto locale = qvariant_cast<QString>(ui->langCombo->currentData());
|
||||
settings->SetLocale(locale);
|
||||
VGAnalytics::Instance()->SetGUILanguage(settings->GetLocale());
|
||||
m_langChanged = false;
|
||||
|
||||
const auto code = qvariant_cast<QString>(ui->systemCombo->currentData());
|
||||
|
|
Loading…
Reference in New Issue
Block a user