summaryrefslogtreecommitdiff
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
commitea045c4fdfeeeaca30813b5f17ba61e249eda5b5 (patch)
tree919544d8820ed9196d23cf5aaff796f3b04f52ac
parent8de9d6b40698c36a270a50cf507faca4c440f311 (diff)
SL-11450 After detaching everything viewer shows wrong slot count
Attachments' title not overwriting properly
-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();