summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorybridge.cpp
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2017-10-19 17:07:22 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2017-10-19 17:07:22 +0300
commit9a34791488b0d2fc68fc7bc09f0685fe42557ea4 (patch)
tree1a5711a2166375843ad1f2e59d792b1f079f9976 /indra/newview/llinventorybridge.cpp
parent72b0cb146753c0e3801145936c3cf3fd6e8508c5 (diff)
MAINT-7906 FIXED Inventory jumps when detaching worn items in appearance panel
Diffstat (limited to 'indra/newview/llinventorybridge.cpp')
-rw-r--r--indra/newview/llinventorybridge.cpp6
1 files changed, 0 insertions, 6 deletions
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)
{