Prevent the radar from dividing by zero (May not be an issue yet)

This commit is contained in:
Lirusaito
2013-07-16 05:46:30 -04:00
parent 4b210c1bbf
commit 7113916d74

View File

@@ -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)
{