diff options
author | Paul Guslisty <pguslisty@productengine.com> | 2010-03-31 17:00:30 +0300 |
---|---|---|
committer | Paul Guslisty <pguslisty@productengine.com> | 2010-03-31 17:00:30 +0300 |
commit | e7bb78d76e3f60c978e8709741600346b0585d45 (patch) | |
tree | 916e3711d0a1af8308a653b3eed4d9c53e4a51c6 | |
parent | 1e74f573bbb7e9d3a6cf3134d3373a202912c721 (diff) | |
parent | 349bc84dfd73702fe788f9ac4539d8046b78e9f3 (diff) |
merge
--HG--
branch : product-engine
-rw-r--r-- | indra/newview/llgroupactions.cpp | 8 | ||||
-rw-r--r-- | indra/newview/llgroupactions.h | 5 |
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); |