Skip to content
Snippets Groups Projects
Commit ea045c4f authored by andreykproductengine's avatar andreykproductengine
Browse files

SL-11450 After detaching everything viewer shows wrong slot count

Attachments' title not overwriting properly
parent 8de9d6b4
No related branches found
No related tags found
No related merge requests found
...@@ -502,13 +502,14 @@ void LLCOFWearables::populateAttachmentsAndBodypartsLists(const LLInventoryModel ...@@ -502,13 +502,14 @@ void LLCOFWearables::populateAttachmentsAndBodypartsLists(const LLInventoryModel
{ {
mAttachments->sort(); mAttachments->sort();
mAttachments->notify(REARRANGE); //notifying the parent about the list's size change (cause items were added with rearrange=false) mAttachments->notify(REARRANGE); //notifying the parent about the list's size change (cause items were added with rearrange=false)
setAttachmentsTitle();
} }
else else
{ {
mAttachments->setNoItemsCommentText(LLTrans::getString("no_attachments")); mAttachments->setNoItemsCommentText(LLTrans::getString("no_attachments"));
} }
setAttachmentsTitle();
if (mBodyParts->size()) if (mBodyParts->size())
{ {
mBodyParts->sort(); mBodyParts->sort();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment