summaryrefslogtreecommitdiffstats
path: root/application/pages/global/ExternalToolsPage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'application/pages/global/ExternalToolsPage.cpp')
-rw-r--r--application/pages/global/ExternalToolsPage.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/application/pages/global/ExternalToolsPage.cpp b/application/pages/global/ExternalToolsPage.cpp
index 426432a0..66d91a46 100644
--- a/application/pages/global/ExternalToolsPage.cpp
+++ b/application/pages/global/ExternalToolsPage.cpp
@@ -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());