Minimal update of llpanelgrouproles.cpp to get the owner role checkbox to enable properly.

This commit is contained in:
Lirusaito
2013-02-26 16:56:59 -05:00
parent 620849607e
commit c0c32c4b70

View File

@@ -1085,8 +1085,7 @@ void LLPanelGroupMembersSubTab::handleMemberSelect()
// Extract the checkbox that was created.
LLScrollListCheck* check_cell = (LLScrollListCheck*) item->getColumn(0);
LLCheckBoxCtrl* check = check_cell->getCheckBox();
check->setCommitCallback(onRoleCheck);
check->setCallbackUserData(this);
check->setCommitCallback(onRoleCheck, this);
check->set( count > 0 );
check->setTentative(
(0 != count)
@@ -1098,6 +1097,7 @@ void LLPanelGroupMembersSubTab::handleMemberSelect()
//last owner. We should check for this special case
// -jwolk
check->setEnabled(cb_enable);
item->setEnabled(cb_enable);
}
}
else