mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-23 20:12:34 +00:00
GH-1003 add some save locking for dialog pages that deal with settings
This commit is contained in:
@@ -37,6 +37,8 @@ bool InstanceSettingsPage::apply()
|
||||
|
||||
void InstanceSettingsPage::applySettings()
|
||||
{
|
||||
SettingsObject::Lock lock(m_settings);
|
||||
|
||||
// Console
|
||||
bool console = ui->consoleSettingsBox->isChecked();
|
||||
m_settings->set("OverrideConsole", console);
|
||||
|
||||
Reference in New Issue
Block a user