diff options
Diffstat (limited to 'indra/newview/llpanelprofile.cpp')
| -rw-r--r-- | indra/newview/llpanelprofile.cpp | 5 | 
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llpanelprofile.cpp b/indra/newview/llpanelprofile.cpp index b77ee2f439..578bc5b9a7 100644 --- a/indra/newview/llpanelprofile.cpp +++ b/indra/newview/llpanelprofile.cpp @@ -1429,6 +1429,11 @@ void LLPanelProfileSecondLife::onCommitMenu(const LLSD& userdata)          LLWString wstr = utf8str_to_wstring(getAvatarId().asString());          LLClipboard::instance().copyToClipboard(wstr, 0, static_cast<S32>(wstr.size()));      } +    else if (item_name == "copy_profile_link") +    { +        LLWString wstr = utf8str_to_wstring(llformat("secondlife:///app/agent/%s/about", getAvatarId().asString().c_str())); +        LLClipboard::instance().copyToClipboard(wstr, 0, wstr.size()); +    }      else if (item_name == "agent_permissions")      {          onShowAgentPermissionsDialog();  | 
