summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2026-09-08 13:57:21 +0800
committerErik Kundiman <erik@megapahit.org>2026-09-08 13:57:21 +0800
commit827916e15afd1f369f419abf698606f6c2a5427e (patch)
tree399d64c726aae2b293f39518d6e12fc5f455d2d6 /indra/newview
parentf345f390f4c7d6d53cf2d152e55a4acfe9969e21 (diff)
View Profile on legacy search resultHEADmain
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llpanelprofile.cpp4
-rw-r--r--indra/newview/skins/default/xui/en/menu_profile_other.xml8
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">