summaryrefslogtreecommitdiff
path: root/indra/newview/llcofwearables.cpp
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2019-06-19 20:36:58 +0300
committerandreykproductengine <andreykproductengine@lindenlab.com>2019-06-19 20:36:58 +0300
commita044c71a4f2b8c587152fff0574e116324e2ad3e (patch)
treeb4eaa7cb72a027b80d86027bd8d5896bd2c3470b /indra/newview/llcofwearables.cpp
parentd1f5e87ad08f63cf8bdf0421566d6e646f76a6d0 (diff)
SL-11450 After detaching everything viewer shows wrong slot count
Attachments' title not overwriting properly
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 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();