diff options
author | Richard Linden <none@none> | 2011-10-13 21:09:16 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2011-10-13 21:09:16 -0700 |
commit | 5e85afeda9200e8c8b4f2f05b13542c170c02d52 (patch) | |
tree | de71b676a1c20c6b4380c4f664740f6ed31a113e /indra/newview | |
parent | 9f682772d93b4530ad7bcbf52adb2300cd91cd4d (diff) |
EXP-1321 FIX 3-way toolbar button functionality not enforced on "Profile" button.
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llviewermenu.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp index 5d215c7f6d..2de70c52c7 100644 --- a/indra/newview/llviewermenu.cpp +++ b/indra/newview/llviewermenu.cpp @@ -3115,7 +3115,8 @@ void handle_avatar_eject(const LLSD& avatar_id) bool my_profile_visible() { - return LLAvatarActions::profileVisible(gAgent.getID()); + LLFloater* floaterp = LLFloaterReg::findInstance("profile", LLSD().with("id", gAgent.getID())); + return floaterp && floaterp->isInVisibleChain(); } bool enable_freeze_eject(const LLSD& avatar_id) |