SL-11450 After detaching everything viewer shows wrong slot count

Attachments' title not overwriting properly
master
andreykproductengine 2019-06-19 20:36:58 +03:00
parent 8de9d6b406
commit ea045c4fdf
1 changed files with 2 additions and 1 deletions

View File

@ -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();