LLGroupActions too! (Strengthens RLVa restrictions!)
Cleans up llfloatergroupinfo, makes it an instance tracker... pretty much as nice as llfloateravatarinfo now ^*^ Adds notifications JoinGroupNoCost and JoinedTooManyGroups (added to our existing translations, of course) Cleans up all around, placing groupactions around. Touches up bits for avataractions
This commit is contained in:
@@ -51,6 +51,7 @@
|
||||
#include "llfloatergroupinfo.h"
|
||||
#include "llfloatermute.h"
|
||||
#include "llfloateravatarinfo.h"
|
||||
#include "llgroupactions.h"
|
||||
#include "lllineeditor.h"
|
||||
#include "llnameeditor.h"
|
||||
#include "llnotificationsutil.h"
|
||||
@@ -430,18 +431,14 @@ void LLPanelAvatarSecondLife::onClickImage(void* data)
|
||||
void LLPanelAvatarSecondLife::onDoubleClickGroup(void* data)
|
||||
{
|
||||
LLPanelAvatarSecondLife* self = (LLPanelAvatarSecondLife*)data;
|
||||
|
||||
|
||||
LLScrollListCtrl* group_list = self->getChild<LLScrollListCtrl>("groups");
|
||||
if(group_list)
|
||||
{
|
||||
LLScrollListItem* item = group_list->getFirstSelected();
|
||||
|
||||
if(item && item->getUUID().notNull())
|
||||
if (item)
|
||||
{
|
||||
llinfos << "Show group info " << item->getUUID() << llendl;
|
||||
|
||||
LLFloaterGroupInfo::showFromUUID(item->getUUID());
|
||||
LLGroupActions::show(item->getUUID());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user