summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorSteven Bennetts <steve@lindenlab.com>2009-08-11 07:34:17 +0000
committerSteven Bennetts <steve@lindenlab.com>2009-08-11 07:34:17 +0000
commit8d7e56f219d0915e2c4a19baf2809dbc6ede7fa5 (patch)
tree00328eeaa68f3272f78264cd3bd11d24b6c38d9e /indra/newview
parentcaa367e5d435a70647c56460741a52b14f41ec9e (diff)
Fixed bogus "changed skin" notification when closing preferences.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llfloaterpreference.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llfloaterpreference.cpp b/indra/newview/llfloaterpreference.cpp
index 8a7b2d84c0..6050fbfa5d 100644
--- a/indra/newview/llfloaterpreference.cpp
+++ b/indra/newview/llfloaterpreference.cpp
@@ -361,7 +361,9 @@ LLFloaterPreference::LLFloaterPreference(const LLSD& key)
mCommitCallbackRegistrar.add("Pref.AutoDetectAspect", boost::bind(&LLFloaterPreference::onCommitAutoDetectAspect, this));
mCommitCallbackRegistrar.add("Pref.onSelectAspectRatio", boost::bind(&LLFloaterPreference::onKeystrokeAspectRatio, this));
mCommitCallbackRegistrar.add("Pref.QualityPerformance", boost::bind(&LLFloaterPreference::onChangeQuality, this, _2));
-
+
+ sSkin = gSavedSettings.getString("SkinCurrent");
+
gSavedSettings.getControl("AvatarNameTagMode")->getCommitSignal()->connect(boost::bind(&handleNameTagOptionChanged, _2));
}