Commits

Kelly Washington committed cb252be

MAINT-1995 Names of banned and allowed residents are not shown in Access tab of the About Land dialog
Code by Richard, reviewed by merov and kelly

Comments (0)

Files changed (1)

indra/llui/llscrolllistctrl.cpp

 			addColumn(col_params);
 		}
 
+		S32 num_cols = item->getNumColumns();
+		S32 i = 0;
+		for (LLScrollListCell* cell = item->getColumn(i); i < num_cols; cell = item->getColumn(++i))
+		{
+			if (i >= (S32)mColumnsIndexed.size()) break;
+
+			cell->setWidth(mColumnsIndexed[i]->getWidth());
+		}
+
 		updateLineHeightInsert(item);
 
 		updateLayout();