Unhide Client column properly on non-SL Grids.

This commit is contained in:
Lirusaito
2013-01-11 03:56:55 -05:00
parent b7f1fdd9cc
commit 2dda9499fa

View File

@@ -476,6 +476,15 @@ void LLFloaterAvatarList::assessColumns()
mAvatarList->getColumn(LIST_AVATAR_NAME)->mDynamicWidth = TRUE;
mAvatarList->getColumn(LIST_AVATAR_NAME)->mRelWidth = -1;
}
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();
}