From 89fe5dab825a62a0e3fd8d248cbc91c65eb2a426 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Fri, 15 Aug 2008 23:44:50 -0500 Subject: Second Life viewer sources 1.14.0.0 --- linden/indra/llxml/llcontrol.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'linden/indra/llxml/llcontrol.h') 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: BOOL mHasRange; BOOL mPersist; BOOL mIsDefault; + static std::set mChangedControls; static std::list mFreeIDs;//These lists are used to store the ID's of registered event listeners. static std::list mUsedIDs; @@ -171,7 +172,10 @@ public: } } - /*virtual*/ void resetToDefault() { mCurrent = mDefault; mIsDefault = TRUE;} + /*virtual*/ void resetToDefault() + { + setValue(mDefault); + } virtual ~LLControl() { -- cgit v1.1