A Name List that's double clicked should open a profile

Unless other behavior already exists, name lists aren't all scroll lists,
void where prohibited, other restrictions may apply.
This commit is contained in:
Liru Færs
2019-08-25 17:02:48 -04:00
parent a399bd7b62
commit 2c3e37024e
6 changed files with 21 additions and 45 deletions

View File

@@ -43,7 +43,6 @@
#include "llcheckboxctrl.h"
#include "llcombobox.h"
#include "lldbstrings.h"
#include "llavataractions.h"
#include "llgroupactions.h"
#include "llimview.h"
#include "lllineeditor.h"
@@ -159,10 +158,6 @@ BOOL LLPanelGroupGeneral::postBuild()
mFounderName = getChild<LLNameBox>("founder_name");
mListVisibleMembers = getChild<LLNameListCtrl>("visible_members", recurse);
if (mListVisibleMembers)
{
mListVisibleMembers->setDoubleClickCallback(boost::bind(LLAvatarActions::showProfile, boost::bind(&LLScrollListCtrl::getCurrentID, mListVisibleMembers), false));
}
// Options
mCtrlShowInGroupList = getChild<LLCheckBoxCtrl>("show_in_group_list", recurse);