From 93aab0362c2d7abbdd6066c4410dc549c211e46a Mon Sep 17 00:00:00 2001 From: sapier Date: Mon, 1 Dec 2014 19:47:57 +0100 Subject: [PATCH] Fix settings callback "call" lost on rebase --- src/settings.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/settings.cpp b/src/settings.cpp index 6631ceb6e..fddadbea6 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -635,9 +635,12 @@ bool Settings::getFlagStrNoEx(const std::string &name, u32 &val, void Settings::set(const std::string &name, const std::string &value) { + { JMutexAutoLock lock(m_mutex); m_settings[name].value = value; + } + doCallbacks(name); } -- 2.25.1