aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llnamelistctrl.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:29 -0500
committerJacek Antonelli2008-08-15 23:45:29 -0500
commit7bdb4845afdd157f95281293803567090e3f992a (patch)
treefbcada1c227d7407f9f37ccba360bfe6326d9c5e /linden/indra/newview/llnamelistctrl.cpp
parentSecond Life viewer sources 1.19.0.0 (diff)
downloadmeta-impy-7bdb4845afdd157f95281293803567090e3f992a.zip
meta-impy-7bdb4845afdd157f95281293803567090e3f992a.tar.gz
meta-impy-7bdb4845afdd157f95281293803567090e3f992a.tar.bz2
meta-impy-7bdb4845afdd157f95281293803567090e3f992a.tar.xz
Second Life viewer sources 1.19.0.2
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