summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelprofile.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-08-08 22:38:56 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-08-08 22:38:56 +0300
commit946bdc1ee352618f0d333292272aceb48b6d8dd8 (patch)
tree2e488b54bc6506fad1446be57ad8eb5ac26aad1a /indra/newview/llpanelprofile.cpp
parent014d7616b65fba699690589426a74e8acfc1a16c (diff)
SL-14556 Profile floater does not update after a name change
Diffstat (limited to 'indra/newview/llpanelprofile.cpp')
-rw-r--r--indra/newview/llpanelprofile.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/indra/newview/llpanelprofile.cpp b/indra/newview/llpanelprofile.cpp
index 195244ea22..2f4da59cfd 100644
--- a/indra/newview/llpanelprofile.cpp
+++ b/indra/newview/llpanelprofile.cpp
@@ -973,6 +973,14 @@ void LLPanelProfileSecondLife::updateData()
}
}
+void LLPanelProfileSecondLife::refreshName()
+{
+ if (!mAvatarNameCacheConnection.connected())
+ {
+ mAvatarNameCacheConnection = LLAvatarNameCache::get(getAvatarId(), boost::bind(&LLPanelProfileSecondLife::onAvatarNameCache, this, _1, _2));
+ }
+}
+
void LLPanelProfileSecondLife::resetData()
{
resetLoading();
@@ -2576,6 +2584,11 @@ void LLPanelProfile::updateData()
}
}
+void LLPanelProfile::refreshName()
+{
+ mPanelSecondlife->refreshName();
+}
+
void LLPanelProfile::createPick(const LLPickData &data)
{
mTabContainer->selectTabPanel(mPanelPicks);