From 8ad0d4bb6854eb61aa5f81fe26001fb244e15c3a Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Sat, 28 Jun 2014 02:39:30 +0200 Subject: [PATCH] refs #273, fixed delegation to simulator settings --- src/blackcore/context_settings_impl.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/blackcore/context_settings_impl.cpp b/src/blackcore/context_settings_impl.cpp index 35f161862..af9fe9f54 100644 --- a/src/blackcore/context_settings_impl.cpp +++ b/src/blackcore/context_settings_impl.cpp @@ -260,6 +260,15 @@ namespace BlackCore emit this->changedSettings(static_cast(SettingsAudio)); } } + else if (path.startsWith(IContextSettings::PathSimulatorSettings())) + { + msgs = this->m_settingsSimulator.value(nextLevelPath, command, value, changed); + if (changed) + { + msgs.push_back(this->write()); + emit this->changedSettings(static_cast(SettingsSimulator)); + } + } else { // wrong path