summaryrefslogtreecommitdiff
path: root/indra/newview/llavatarlistitem.cpp
diff options
context:
space:
mode:
authorLeyla Farazha <leyla@lindenlab.com>2010-09-13 14:59:31 -0700
committerLeyla Farazha <leyla@lindenlab.com>2010-09-13 14:59:31 -0700
commita923da7fc78b44cd5368d26652b0204322f064a4 (patch)
tree57c9820872c0d14c919a9d8ccc4f226b6b4c6f70 /indra/newview/llavatarlistitem.cpp
parent7ca63c963dd6a3015b580ef73e27f3ebb9ebb837 (diff)
DEV-52931 Toggling "View Display Names" doesn't take effect right away in the Friends list
Diffstat (limited to 'indra/newview/llavatarlistitem.cpp')
-rw-r--r--indra/newview/llavatarlistitem.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llavatarlistitem.cpp b/indra/newview/llavatarlistitem.cpp
index 51444569c1..d08943f825 100644
--- a/indra/newview/llavatarlistitem.cpp
+++ b/indra/newview/llavatarlistitem.cpp
@@ -334,6 +334,12 @@ std::string LLAvatarListItem::getAvatarToolTip() const
return mAvatarName->getToolTip();
}
+void LLAvatarListItem::updateAvatarName()
+{
+ LLAvatarNameCache::get(getAvatarId(),
+ boost::bind(&LLAvatarListItem::onAvatarNameCache, this, _2));
+}
+
//== PRIVATE SECITON ==========================================================
void LLAvatarListItem::setNameInternal(const std::string& name, const std::string& highlight)