aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llxml/llcontrol.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/llxml/llcontrol.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/linden/indra/llxml/llcontrol.h b/linden/indra/llxml/llcontrol.h
index 846a3b5..ca5f711 100644
--- a/linden/indra/llxml/llcontrol.h
+++ b/linden/indra/llxml/llcontrol.h
@@ -67,6 +67,7 @@ protected:
67 BOOL mHasRange; 67 BOOL mHasRange;
68 BOOL mPersist; 68 BOOL mPersist;
69 BOOL mIsDefault; 69 BOOL mIsDefault;
70
70 static std::set<LLControlBase*> mChangedControls; 71 static std::set<LLControlBase*> mChangedControls;
71 static std::list<S32> mFreeIDs;//These lists are used to store the ID's of registered event listeners. 72 static std::list<S32> mFreeIDs;//These lists are used to store the ID's of registered event listeners.
72 static std::list<S32> mUsedIDs; 73 static std::list<S32> mUsedIDs;
@@ -171,7 +172,10 @@ public:
171 } 172 }
172 } 173 }
173 174
174 /*virtual*/ void resetToDefault() { mCurrent = mDefault; mIsDefault = TRUE;} 175 /*virtual*/ void resetToDefault()
176 {
177 setValue(mDefault);
178 }
175 179
176 virtual ~LLControl() 180 virtual ~LLControl()
177 { 181 {