diff options
Diffstat (limited to 'indra/newview/lldaycyclemanager.cpp')
-rw-r--r-- | indra/newview/lldaycyclemanager.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/lldaycyclemanager.cpp b/indra/newview/lldaycyclemanager.cpp index 0cd23f5202..960879c32c 100644 --- a/indra/newview/lldaycyclemanager.cpp +++ b/indra/newview/lldaycyclemanager.cpp @@ -82,6 +82,7 @@ bool LLDayCycleManager::savePreset(const std::string& name, const LLSD& data) // Add it to our map. addPreset(name, data); + mModifySignal(); return true; } @@ -95,6 +96,7 @@ bool LLDayCycleManager::deletePreset(const std::string& name) if (gDirUtilp->fileExists(path)) { gDirUtilp->deleteFilesInDir(getUserDir(), filename); + mModifySignal(); return true; } @@ -102,6 +104,11 @@ bool LLDayCycleManager::deletePreset(const std::string& name) return false; } +boost::signals2::connection LLDayCycleManager::setModifyCallback(const modify_signal_t::slot_type& cb) +{ + return mModifySignal.connect(cb); +} + // virtual void LLDayCycleManager::initSingleton() { |