summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelme.cpp
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2010-06-01 16:09:58 -0700
committerJames Cook <james@lindenlab.com>2010-06-01 16:09:58 -0700
commit4835c615d5a00f146bcd5c7a50153418ce2a3613 (patch)
treede56c33224389839aeacf3ca334dac6c4c456877 /indra/newview/llpanelme.cpp
parent49c221b9678c33d5dbe71a68ca35d0b28fff3edd (diff)
DEV-50778 Update text for display name change in viewer
Reviewed with Erica - got them as close as we can with the data we have available.
Diffstat (limited to 'indra/newview/llpanelme.cpp')
-rw-r--r--indra/newview/llpanelme.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llpanelme.cpp b/indra/newview/llpanelme.cpp
index cd0cbe8128..0fc2a78bcd 100644
--- a/indra/newview/llpanelme.cpp
+++ b/indra/newview/llpanelme.cpp
@@ -298,7 +298,9 @@ void LLPanelMyProfileEdit::onCacheSetName(bool success,
{
// Inform the user that the change took place, but will take a while
// to percolate.
- LLNotificationsUtil::add("SetDisplayNameSuccess");
+ LLSD args;
+ args["DISPLAY_NAME"] = content["display_name"];
+ LLNotificationsUtil::add("SetDisplayNameSuccess", args);
// Re-fetch my name, as it may have been sanitized by the service
LLAvatarNameCache::get(getAvatarId(),