mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-02 19:36:57 +03:00
GH-1003 add some save locking for dialog pages that deal with settings
This commit is contained in:
parent
185ff238c2
commit
8fb5d4add3
7 changed files with 18 additions and 0 deletions
|
|
@ -61,6 +61,9 @@ void ExternalToolsPage::loadSettings()
|
|||
void ExternalToolsPage::applySettings()
|
||||
{
|
||||
auto s = MMC->settings();
|
||||
|
||||
SettingsObject::Lock lock(s);
|
||||
|
||||
s->set("JProfilerPath", ui->jprofilerPathEdit->text());
|
||||
s->set("JVisualVMPath", ui->jvisualvmPathEdit->text());
|
||||
s->set("MCEditPath", ui->mceditPathEdit->text());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue