From 9a34791488b0d2fc68fc7bc09f0685fe42557ea4 Mon Sep 17 00:00:00 2001 From: Mnikolenko Productengine Date: Thu, 19 Oct 2017 17:07:22 +0300 Subject: MAINT-7906 FIXED Inventory jumps when detaching worn items in appearance panel --- indra/newview/llinventorybridge.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'indra/newview/llinventorybridge.cpp') diff --git a/indra/newview/llinventorybridge.cpp b/indra/newview/llinventorybridge.cpp index 3f18039376..904bc29929 100644 --- a/indra/newview/llinventorybridge.cpp +++ b/indra/newview/llinventorybridge.cpp @@ -1876,17 +1876,11 @@ void LLItemBridge::buildDisplayName() const { mDisplayName.assign(LLStringUtil::null); } - S32 old_length = mSearchableName.length(); - S32 new_length = mDisplayName.length() + getLabelSuffix().length(); mSearchableName.assign(mDisplayName); mSearchableName.append(getLabelSuffix()); LLStringUtil::toUpper(mSearchableName); - if ((old_length > new_length) && getInventoryFilter()) - { - getInventoryFilter()->setModified(LLFolderViewFilter::FILTER_MORE_RESTRICTIVE); - } //Name set, so trigger a sort if(mParent) { -- cgit v1.3