diff options
author | Oz Linden <oz@lindenlab.com> | 2012-06-21 14:19:25 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2012-06-21 14:19:25 -0400 |
commit | f64a79d9d14fe52dc9ac599bc9e4faf8009254ce (patch) | |
tree | d14ff8f9cf8bd723b8d479446f47eeb4211e8326 /indra/llxml/llcontrol.h | |
parent | ee130adc60dea8530f82d90107198ebcbd63fded (diff) | |
parent | 4539e5c8e93badc83e71045ba87ef81bf8740cab (diff) |
merge changes for DRTVWR-171
Diffstat (limited to 'indra/llxml/llcontrol.h')
-rw-r--r-- | indra/llxml/llcontrol.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/llxml/llcontrol.h b/indra/llxml/llcontrol.h index 597031ec70..9a3a40e476 100644 --- a/indra/llxml/llcontrol.h +++ b/indra/llxml/llcontrol.h @@ -98,7 +98,7 @@ class LLControlVariable : public LLRefCount public: typedef boost::signals2::signal<bool(LLControlVariable* control, const LLSD&), boost_boolean_combiner> validate_signal_t; - typedef boost::signals2::signal<void(LLControlVariable* control, const LLSD&)> commit_signal_t; + typedef boost::signals2::signal<void(LLControlVariable* control, const LLSD&, const LLSD&)> commit_signal_t; private: std::string mName; @@ -146,11 +146,11 @@ public: void setHiddenFromSettingsEditor(bool hide); void setComment(const std::string& comment); - void firePropertyChanged() +private: + void firePropertyChanged(const LLSD &pPreviousValue) { - mCommitSignal(this, mValues.back()); + mCommitSignal(this, mValues.back(), pPreviousValue); } -private: LLSD getComparableValue(const LLSD& value); bool llsd_compare(const LLSD& a, const LLSD & b); }; |