From 14fb8d400edf0ea71290195b6bf41b7d580157af Mon Sep 17 00:00:00 2001 From: James Cook Date: Wed, 11 Nov 2009 17:44:15 -0800 Subject: EXT-2368 Group inspector now shows no Join/Leave buttons until data is fetched --- indra/newview/llinspectgroup.cpp | 3 ++- indra/newview/skins/default/xui/en/inspect_group.xml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/indra/newview/llinspectgroup.cpp b/indra/newview/llinspectgroup.cpp index c78bcd6afe..7fd7b69021 100644 --- a/indra/newview/llinspectgroup.cpp +++ b/indra/newview/llinspectgroup.cpp @@ -216,7 +216,8 @@ void LLInspectGroup::requestUpdate() getChild("group_details")->setValue(""); getChild("group_cost")->setValue(""); // Must have a visible button so the inspector can take focus - getChild("leave_btn")->setVisible(true); + getChild("view_profile_btn")->setVisible(true); + getChild("leave_btn")->setVisible(false); getChild("join_btn")->setVisible(false); // Make a new request for properties diff --git a/indra/newview/skins/default/xui/en/inspect_group.xml b/indra/newview/skins/default/xui/en/inspect_group.xml index e5e5007c56..f48af2f97e 100644 --- a/indra/newview/skins/default/xui/en/inspect_group.xml +++ b/indra/newview/skins/default/xui/en/inspect_group.xml @@ -31,7 +31,7 @@ use_ellipses="true" width="240" word_wrap="false"> - Grumpity's Grumpy Group of Moose + Grumpity's Grumpy Group of Moose