mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-10-06 04:50:22 -04:00
GH-1003 add some save locking for dialog pages that deal with settings
This commit is contained in:
1 parent
185ff238c2
commit
8fb5d4add3
7 files changed
+18
No files matched your search
@@ -58,6 +58,9 @@ bool JavaPage::apply()
|
||||
void JavaPage::applySettings()
|
||||
{
|
||||
auto s = MMC->settings();
|
||||
|
||||
SettingsObject::Lock lock(s);
|
||||
|
||||
// Memory
|
||||
s->set("MinMemAlloc", ui->minMemSpinBox->value());
|
||||
s->set("MaxMemAlloc", ui->maxMemSpinBox->value());
|
||||
|
||||
Reference in new issue
Block a user