summaryrefslogtreecommitdiff
path: root/indra/newview/llcofwearables.cpp
diff options
context:
space:
mode:
authorJonathan Yap <none@none>2011-05-26 09:17:14 -0400
committerJonathan Yap <none@none>2011-05-26 09:17:14 -0400
commitbf8b02b1f31ac1b3959a537568b712fdf16d02e2 (patch)
tree589f563f2c0da6aff5010ea57dd02642caeb25df /indra/newview/llcofwearables.cpp
parentfda331bb801918aab3eb5b7026f7e868eca248a2 (diff)
STORM-899 'No attachments worn' text on blank 'Attachments' accordion remains in English for all locales
Diffstat (limited to 'indra/newview/llcofwearables.cpp')
-rw-r--r--indra/newview/llcofwearables.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llcofwearables.cpp b/indra/newview/llcofwearables.cpp
index 84c560639e..9a30979b9b 100644
--- a/indra/newview/llcofwearables.cpp
+++ b/indra/newview/llcofwearables.cpp
@@ -296,7 +296,7 @@ LLCOFWearables::~LLCOFWearables()
// virtual
BOOL LLCOFWearables::postBuild()
{
- mAttachments = getChild<LLFlatListView>("list_attachments");
+ mAttachments = getChild<LLFlatListViewEx>("list_attachments");
mClothing = getChild<LLFlatListView>("list_clothing");
mBodyParts = getChild<LLFlatListView>("list_body_parts");
@@ -317,6 +317,7 @@ BOOL LLCOFWearables::postBuild()
mAttachments->setComparator(&WEARABLE_NAME_COMPARATOR);
mBodyParts->setComparator(&WEARABLE_NAME_COMPARATOR);
+ mAttachments->setNoItemsMsg(getString("no_attachments"));
mClothingTab = getChild<LLAccordionCtrlTab>("tab_clothing");
mClothingTab->setDropDownStateChangedCallback(boost::bind(&LLCOFWearables::onAccordionTabStateChanged, this, _1, _2));