summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorYuri Chebotarev <ychebotarev@productengine.com>2010-03-31 16:46:16 +0300
committerYuri Chebotarev <ychebotarev@productengine.com>2010-03-31 16:46:16 +0300
commit0a0f6dec5f6128990f4116c1f90e19691e30c3d2 (patch)
tree4dd591ff4fec36fa4e83bf8f597abd1faf1302eb /indra/newview
parent1751e6add7e9957106f628816f0808c92a67cc6c (diff)
fix for normal EXT-6346 SLapp group inspector link opens group profile instead
https://codereview.productengine.com/secondlife/r/138/ reviwed vsavchuk --HG-- branch : product-engine
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llgroupactions.cpp8
-rw-r--r--indra/newview/llgroupactions.h5
2 files changed, 12 insertions, 1 deletions
diff --git a/indra/newview/llgroupactions.cpp b/indra/newview/llgroupactions.cpp
index 00e2365ffd..d4eecc8c48 100644
--- a/indra/newview/llgroupactions.cpp
+++ b/indra/newview/llgroupactions.cpp
@@ -105,7 +105,7 @@ public:
{
if (group_id.isNull())
return true;
- LLGroupActions::show(group_id);
+ LLGroupActions::inspect(group_id);
return true;
}
return false;
@@ -246,6 +246,12 @@ static bool isGroupUIVisible()
return panel->isInVisibleChain();
}
+// static
+void LLGroupActions::inspect(const LLUUID& group_id)
+{
+ LLFloaterReg::showInstance("inspect_group", LLSD().with("group_id", group_id));
+}
+
// static
void LLGroupActions::show(const LLUUID& group_id)
{
diff --git a/indra/newview/llgroupactions.h b/indra/newview/llgroupactions.h
index e99df86cd9..7e00f2dbe3 100644
--- a/indra/newview/llgroupactions.h
+++ b/indra/newview/llgroupactions.h
@@ -66,6 +66,11 @@ public:
static void show(const LLUUID& group_id);
/**
+ * Show group inspector floater.
+ */
+ static void LLGroupActions::inspect(const LLUUID& group_id);
+
+ /**
* Refresh group information panel.
*/
static void refresh(const LLUUID& group_id);