diff options
author | Oz Linden <oz@lindenlab.com> | 2011-07-07 14:08:36 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2011-07-07 14:08:36 -0400 |
commit | 5d92dc44026f7dd237aa871593080fd151064e62 (patch) | |
tree | 4f0c70e428824a0a01e38ff77850fb009b6c13f0 /indra/newview/llcofwearables.cpp | |
parent | 7614ceff24129643ecb96f57f0491507e4ff8dbd (diff) | |
parent | 4d77146b9016a4db37112e153e71c05c596f7fdc (diff) |
merge changes for 2.7.4 release
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()) { |