summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterpreference.cpp
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2010-05-07 15:21:27 -0700
committerJames Cook <james@lindenlab.com>2010-05-07 15:21:27 -0700
commit317a27816dc68ba3e87143728bf22098e9419a0e (patch)
treeee0168d66a9e34c2cd5a32d93dea5e7d02395bee /indra/newview/llfloaterpreference.cpp
parent5ad8364a68d64d2d921f4cf65dbab0eb7b03fc1d (diff)
DEV-49780 Update name tags when "Show SLIDs" pref disabled
Diffstat (limited to 'indra/newview/llfloaterpreference.cpp')
-rw-r--r--indra/newview/llfloaterpreference.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llfloaterpreference.cpp b/indra/newview/llfloaterpreference.cpp
index 3487f52f35..57eafb91a4 100644
--- a/indra/newview/llfloaterpreference.cpp
+++ b/indra/newview/llfloaterpreference.cpp
@@ -225,6 +225,7 @@ void handleNameTagOptionChanged(const LLSD& newvalue)
{
gSavedSettings.setBOOL("SmallAvatarNames", TRUE);
}
+ LLVOAvatar::invalidateNameTags();
}
/*bool callback_skip_dialogs(const LLSD& notification, const LLSD& response, LLFloaterPreference* floater)
@@ -321,6 +322,7 @@ LLFloaterPreference::LLFloaterPreference(const LLSD& key)
sSkin = gSavedSettings.getString("SkinCurrent");
gSavedSettings.getControl("AvatarNameTagMode")->getCommitSignal()->connect(boost::bind(&handleNameTagOptionChanged, _2));
+ gSavedSettings.getControl("NameTagShowSLIDs")->getCommitSignal()->connect(boost::bind(&handleNameTagOptionChanged, _2));
}
BOOL LLFloaterPreference::postBuild()