Removed LLUICtrl::setDoubleClickCallback and LLPanel::childSetDoubleClickCallback as they aren't used/needed and complicate things. Added LLPanel::childSetAction overload that accepts boost::singal2::signal (for boost::bind). Now using boost::function for various callbacks in LLScrollListCtrl (for boost::bind).
This commit is contained in:
@@ -369,7 +369,7 @@ BOOL LLPanelFriends::postBuild()
|
||||
mFriendsList->setCommitOnSelectionChange(TRUE);
|
||||
childSetCommitCallback("friend_list", onSelectName, this);
|
||||
childSetCommitCallback("buddy_group_combobox", onChangeContactGroup, this);
|
||||
childSetDoubleClickCallback("friend_list", onClickIM);
|
||||
mFriendsList->setDoubleClickCallback(onClickIM, this);
|
||||
|
||||
// <dogmode>
|
||||
// Contact search and group system.
|
||||
|
||||
Reference in New Issue
Block a user