Fix settings callback "call" lost on rebase
authorsapier <Sapier at GMX dot net>
Mon, 1 Dec 2014 18:47:57 +0000 (19:47 +0100)
committersapier <Sapier at GMX dot net>
Mon, 1 Dec 2014 18:47:57 +0000 (19:47 +0100)
src/settings.cpp

index 6631ceb6e7bf1a2c87fcfb5a55af6301a21b4a59..fddadbea60de380a9574ef8bff87668f06293c92 100644 (file)
@@ -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);
 }