From 69a85e3ed0960d90c2a093029768a550fb3f591d Mon Sep 17 00:00:00 2001
From: maxim_productengine <mnikolenko@productengine.com>
Date: Wed, 12 Jun 2019 13:43:29 +0300
Subject: [PATCH] SL-11409 [Legacy Profiles] Copy Display name correctly
 regardless of View Display Names setting.

---
 indra/newview/llpanelprofile.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indra/newview/llpanelprofile.cpp b/indra/newview/llpanelprofile.cpp
index a60493a3609..472285e3d90 100644
--- a/indra/newview/llpanelprofile.cpp
+++ b/indra/newview/llpanelprofile.cpp
@@ -787,7 +787,7 @@ void LLPanelProfileSecondLife::onCommitMenu(const LLSD& userdata)
     LLWString wstr;
     if (item_name == "display")
     {
-        wstr = utf8str_to_wstring(av_name.getDisplayName());
+        wstr = utf8str_to_wstring(av_name.getDisplayName(true));
     }
     else if (item_name == "name")
     {
-- 
GitLab