aboutsummaryrefslogtreecommitdiff
path: root/launcher/ui/pages/global/MinecraftPage.cpp
diff options
context:
space:
mode:
authordada513 <dada513@protonmail.com>2022-03-28 20:55:06 +0200
committerdada513 <dada513@protonmail.com>2022-03-28 20:55:06 +0200
commit341eb16a4c0571cc66068c0bdd85d8d8955869b7 (patch)
treea2214b34b0b6a49add241d044aaeda5151396733 /launcher/ui/pages/global/MinecraftPage.cpp
parent3a7eeff135f92c807fdc066cb06d835f295b66d3 (diff)
parent87cf38a3770dd7f55fbae79ca3a4958155289af7 (diff)
downloadPrismLauncher-341eb16a4c0571cc66068c0bdd85d8d8955869b7.tar.gz
PrismLauncher-341eb16a4c0571cc66068c0bdd85d8d8955869b7.tar.bz2
PrismLauncher-341eb16a4c0571cc66068c0bdd85d8d8955869b7.zip
Merge branch 'develop' of https://github.com/PolyMC/PolyMC into flatpak_properly
Diffstat (limited to 'launcher/ui/pages/global/MinecraftPage.cpp')
-rw-r--r--launcher/ui/pages/global/MinecraftPage.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/launcher/ui/pages/global/MinecraftPage.cpp b/launcher/ui/pages/global/MinecraftPage.cpp
index 9abae425..f49f5a92 100644
--- a/launcher/ui/pages/global/MinecraftPage.cpp
+++ b/launcher/ui/pages/global/MinecraftPage.cpp
@@ -94,6 +94,7 @@ void MinecraftPage::applySettings()
// Miscellaneous
s->set("CloseAfterLaunch", ui->closeAfterLaunchCheck->isChecked());
+ s->set("QuitAfterGameStop", ui->quitAfterGameStopCheck->isChecked());
}
void MinecraftPage::loadSettings()
@@ -113,6 +114,7 @@ void MinecraftPage::loadSettings()
ui->recordGameTime->setChecked(s->get("RecordGameTime").toBool());
ui->closeAfterLaunchCheck->setChecked(s->get("CloseAfterLaunch").toBool());
+ ui->quitAfterGameStopCheck->setChecked(s->get("QuitAfterGameStop").toBool());
}
void MinecraftPage::retranslate()