diff options
author | andreykproductengine <andreykproductengine@lindenlab.com> | 2019-06-19 20:36:58 +0300 |
---|---|---|
committer | andreykproductengine <andreykproductengine@lindenlab.com> | 2019-06-19 20:36:58 +0300 |
commit | ea045c4fdfeeeaca30813b5f17ba61e249eda5b5 (patch) | |
tree | 919544d8820ed9196d23cf5aaff796f3b04f52ac | |
parent | 8de9d6b40698c36a270a50cf507faca4c440f311 (diff) |
SL-11450 After detaching everything viewer shows wrong slot count
Attachments' title not overwriting properly
-rw-r--r-- | indra/newview/llcofwearables.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llcofwearables.cpp b/indra/newview/llcofwearables.cpp index b47e0930a3..1caefd58ab 100644 --- a/indra/newview/llcofwearables.cpp +++ b/indra/newview/llcofwearables.cpp @@ -502,13 +502,14 @@ 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) - setAttachmentsTitle(); } else { mAttachments->setNoItemsCommentText(LLTrans::getString("no_attachments")); } + setAttachmentsTitle(); + if (mBodyParts->size()) { mBodyParts->sort(); |