summaryrefslogtreecommitdiffstats
path: root/application/pages/global/MultiMCPage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'application/pages/global/MultiMCPage.cpp')
-rw-r--r--application/pages/global/MultiMCPage.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/application/pages/global/MultiMCPage.cpp b/application/pages/global/MultiMCPage.cpp
index 348d08ae..1517b6e9 100644
--- a/application/pages/global/MultiMCPage.cpp
+++ b/application/pages/global/MultiMCPage.cpp
@@ -247,6 +247,9 @@ void MultiMCPage::refreshUpdateChannelDesc()
void MultiMCPage::applySettings()
{
auto s = MMC->settings();
+
+ SettingsObject::Lock lock(s);
+
// Language
s->set("Language",
ui->languageBox->itemData(ui->languageBox->currentIndex()).toLocale().bcp47Name());