GH-1003 add some save locking for dialog pages that deal with settings

This commit is contained in:
Petr Mrázek
2015-05-25 08:21:35 +02:00
parent 185ff238c2
commit 8fb5d4add3
7 changed files with 18 additions and 0 deletions

View File

@ -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());