diff options
author | Squire <squire@lindenlab.com> | 2011-06-17 13:12:29 -0700 |
---|---|---|
committer | Squire <squire@lindenlab.com> | 2011-06-17 13:12:29 -0700 |
commit | a1652204f1a9348755c9fe495c6e0afabd5dd80b (patch) | |
tree | 02190dcbbd6d6217f8754aad0cf226597baab92d /indra/newview/llcofwearables.cpp | |
parent | f86a488231dc9a629d44a9f6aa6bfc9aa0eb57b4 (diff) | |
parent | f0694e45c8d140bd93abe097ec8e8cc99630ed39 (diff) |
Merge in viewer-development
Diffstat (limited to 'indra/newview/llcofwearables.cpp')
-rw-r--r-- | indra/newview/llcofwearables.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llcofwearables.cpp b/indra/newview/llcofwearables.cpp index 84c560639e..254c0adef1 100644 --- a/indra/newview/llcofwearables.cpp +++ b/indra/newview/llcofwearables.cpp @@ -317,7 +317,6 @@ BOOL LLCOFWearables::postBuild() mAttachments->setComparator(&WEARABLE_NAME_COMPARATOR); mBodyParts->setComparator(&WEARABLE_NAME_COMPARATOR); - mClothingTab = getChild<LLAccordionCtrlTab>("tab_clothing"); mClothingTab->setDropDownStateChangedCallback(boost::bind(&LLCOFWearables::onAccordionTabStateChanged, this, _1, _2)); @@ -499,6 +498,10 @@ void LLCOFWearables::populateAttachmentsAndBodypartsLists(const LLInventoryModel mAttachments->sort(); mAttachments->notify(REARRANGE); //notifying the parent about the list's size change (cause items were added with rearrange=false) } + else + { + mAttachments->setNoItemsCommentText(LLTrans::getString("no_attachments")); + } if (mBodyParts->size()) { |