summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterimcontainer.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2013-02-05 22:26:58 -0800
committerMerov Linden <merov@lindenlab.com>2013-02-05 22:26:58 -0800
commit5b143ee2c70dab6a50c51da68d6b4c97196e2aed (patch)
treee717c872ad84ee5d43f431c9a899229c8dda7319 /indra/newview/llfloaterimcontainer.cpp
parentdadc5e84e189bca043870b192db7b8607d1d9daf (diff)
CHUI-677 : Fixed! Use the selected session for doToSelectedGroup(), not the selected item.
Diffstat (limited to 'indra/newview/llfloaterimcontainer.cpp')
-rw-r--r--indra/newview/llfloaterimcontainer.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/indra/newview/llfloaterimcontainer.cpp b/indra/newview/llfloaterimcontainer.cpp
index 54e5085490..5a284cc7b7 100644
--- a/indra/newview/llfloaterimcontainer.cpp
+++ b/indra/newview/llfloaterimcontainer.cpp
@@ -1118,19 +1118,18 @@ void LLFloaterIMContainer::doToSelected(const LLSD& userdata)
void LLFloaterIMContainer::doToSelectedGroup(const LLSD& userdata)
{
std::string action = userdata.asString();
- LLUUID selected_group = getCurSelectedViewModelItem()->getUUID();
if (action == "group_profile")
{
- LLGroupActions::show(selected_group);
+ LLGroupActions::show(mSelectedSession);
}
else if (action == "activate_group")
{
- LLGroupActions::activate(selected_group);
+ LLGroupActions::activate(mSelectedSession);
}
else if (action == "leave_group")
{
- LLGroupActions::leave(selected_group);
+ LLGroupActions::leave(mSelectedSession);
}
}