diff options
| author | Erik Kundiman <erik@megapahit.org> | 2026-09-08 13:57:21 +0800 |
|---|---|---|
| committer | Erik Kundiman <erik@megapahit.org> | 2026-09-08 13:57:21 +0800 |
| commit | 827916e15afd1f369f419abf698606f6c2a5427e (patch) | |
| tree | 399d64c726aae2b293f39518d6e12fc5f455d2d6 | |
| parent | f345f390f4c7d6d53cf2d152e55a4acfe9969e21 (diff) | |
| -rw-r--r-- | indra/newview/llpanelprofile.cpp | 4 | ||||
| -rw-r--r-- | indra/newview/skins/default/xui/en/menu_profile_other.xml | 8 |
2 files changed, 12 insertions, 0 deletions
diff --git a/indra/newview/llpanelprofile.cpp b/indra/newview/llpanelprofile.cpp index 3d8e5575ae..9402facb2a 100644 --- a/indra/newview/llpanelprofile.cpp +++ b/indra/newview/llpanelprofile.cpp @@ -1440,6 +1440,10 @@ void LLPanelProfileSecondLife::onCommitMenu(const LLSD& userdata) { LLAvatarActions::startIM(agent_id); } + else if (item_name == "view_profile") + { + LLAvatarActions::showProfile(agent_id); + } else if (item_name == "offer_teleport") { LLAvatarActions::offerTeleport(agent_id); diff --git a/indra/newview/skins/default/xui/en/menu_profile_other.xml b/indra/newview/skins/default/xui/en/menu_profile_other.xml index a505b38087..8ea972f369 100644 --- a/indra/newview/skins/default/xui/en/menu_profile_other.xml +++ b/indra/newview/skins/default/xui/en/menu_profile_other.xml @@ -3,6 +3,14 @@ layout="topleft" name="Avatar Profile Menu"> <menu_item_call + label="View Profile" + layout="topleft" + name="view_profile"> + <menu_item_call.on_click + function="Profile.Commit" + parameter="view_profile"/> + </menu_item_call> + <menu_item_call label="IM" layout="topleft" name="im"> |
