From 7113916d74599da14b886f9e01adb40967c73a74 Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Tue, 16 Jul 2013 05:46:30 -0400 Subject: [PATCH] Prevent the radar from dividing by zero (May not be an issue yet) --- indra/newview/llfloateravatarlist.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/indra/newview/llfloateravatarlist.cpp b/indra/newview/llfloateravatarlist.cpp index 60070e6c4..ba925ff2e 100644 --- a/indra/newview/llfloateravatarlist.cpp +++ b/indra/newview/llfloateravatarlist.cpp @@ -495,6 +495,7 @@ void LLFloaterAvatarList::assessColumns() client_col->mDynamicWidth = !client_hidden; name_col->mDynamicWidth = client_hidden; + mAvatarList->setNumDynamicColumns(1); // Dynamic width is set on only one column, be sure to let the list know, otherwise we may divide by zero if(!client_hidden) {