Removed some logic in llfloateravatarlist that shouldn't have been there.

This commit is contained in:
Shyotl
2013-02-12 20:49:39 -06:00
parent a31ba15dbc
commit 8ec5915b7c

View File

@@ -500,18 +500,9 @@ void LLFloaterAvatarList::assessColumns()
if(!client_hidden)
{
name_col->setWidth(width_name);
name_col->setWidth(llmax(width_name.get(),10));
}
}
else if (!hide_client)
{
mAvatarList->getColumn(LIST_CLIENT)->setWidth(0);
mAvatarList->getColumn(LIST_AVATAR_NAME)->setWidth(0);
mAvatarList->getColumn(LIST_AVATAR_NAME)->mDynamicWidth = FALSE;
mAvatarList->getColumn(LIST_AVATAR_NAME)->mRelWidth = 0;
mAvatarList->getColumn(LIST_CLIENT)->mDynamicWidth = TRUE;
mAvatarList->getColumn(LIST_CLIENT)->mRelWidth = -1;
}
mAvatarList->updateLayout();
}