aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llnamelistctrl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llnamelistctrl.cpp')
-rw-r--r--linden/indra/newview/llnamelistctrl.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/linden/indra/newview/llnamelistctrl.cpp b/linden/indra/newview/llnamelistctrl.cpp
index e645cc6..4b63b08 100644
--- a/linden/indra/newview/llnamelistctrl.cpp
+++ b/linden/indra/newview/llnamelistctrl.cpp
@@ -224,7 +224,7 @@ LLScrollListItem* LLNameListCtrl::addElement(const LLSD& value, EAddPosition pos
224 LLScrollListCell* cell = (LLScrollListCell*)item->getColumn(mNameColumnIndex); 224 LLScrollListCell* cell = (LLScrollListCell*)item->getColumn(mNameColumnIndex);
225 ((LLScrollListText*)cell)->setText( fullname ); 225 ((LLScrollListText*)cell)->setText( fullname );
226 226
227 calcMaxContentWidth(item); 227 dirtyColumns();
228 228
229 // this column is resizable 229 // this column is resizable
230 LLScrollListColumn* columnp = getColumn(mNameColumnIndex); 230 LLScrollListColumn* columnp = getColumn(mNameColumnIndex);
@@ -277,9 +277,10 @@ void LLNameListCtrl::refresh(const LLUUID& id, const char* first,
277 cell = (LLScrollListCell*)item->getColumn(mNameColumnIndex); 277 cell = (LLScrollListCell*)item->getColumn(mNameColumnIndex);
278 278
279 ((LLScrollListText*)cell)->setText( fullname ); 279 ((LLScrollListText*)cell)->setText( fullname );
280 calcMaxContentWidth(item);
281 } 280 }
282 } 281 }
282
283 dirtyColumns();
283} 284}
284 285
285 286