From 8ec5915b7c768451094b74803b73eae535beaea9 Mon Sep 17 00:00:00 2001 From: Shyotl Date: Tue, 12 Feb 2013 20:49:39 -0600 Subject: [PATCH] Removed some logic in llfloateravatarlist that shouldn't have been there. --- indra/newview/llfloateravatarlist.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/indra/newview/llfloateravatarlist.cpp b/indra/newview/llfloateravatarlist.cpp index 92a80a517..f410bd615 100644 --- a/indra/newview/llfloateravatarlist.cpp +++ b/indra/newview/llfloateravatarlist.cpp @@ -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(); }