summaryrefslogtreecommitdiffstats
path: root/application/pages/global/MinecraftPage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'application/pages/global/MinecraftPage.cpp')
-rw-r--r--application/pages/global/MinecraftPage.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/application/pages/global/MinecraftPage.cpp b/application/pages/global/MinecraftPage.cpp
index 57f40ae6..c08f9140 100644
--- a/application/pages/global/MinecraftPage.cpp
+++ b/application/pages/global/MinecraftPage.cpp
@@ -62,6 +62,8 @@ void MinecraftPage::applySettings()
{
auto s = MMC->settings();
+ SettingsObject::Lock lock(s);
+
// Window Size
s->set("LaunchMaximized", ui->maximizedCheckBox->isChecked());
s->set("MinecraftWinWidth", ui->windowWidthSpinBox->value());