summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorandreykproductengine <akleshchev@productengine.com>2014-07-30 18:33:49 +0300
committerandreykproductengine <akleshchev@productengine.com>2014-07-30 18:33:49 +0300
commitb18e4f7a51203a6d2bb1be85a2d5efc5bc04731e (patch)
tree4181540119586bd5a190e1febe74befcf18b0219 /indra/llui
parent7d8b90ce98e0b88cf8cfb5c6f6d4e0ce31eaaf64 (diff)
MAINT-4218 Adding clothing from inventory closes THAT clothing folder and hides THAT folder
fixed issue with 'yet to be started filter' and 'dirty-visible' item.
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/llfolderviewitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llfolderviewitem.cpp b/indra/llui/llfolderviewitem.cpp
index e3ec333e21..d251544ee5 100644
--- a/indra/llui/llfolderviewitem.cpp
+++ b/indra/llui/llfolderviewitem.cpp
@@ -264,7 +264,7 @@ BOOL LLFolderViewItem::isPotentiallyVisible(S32 filter_generation)
// 3. item was recently updated and was visible before update
LLFolderViewModelItem* model = getViewModelItem();
- if (model->getLastFilterGeneration() < 0)
+ if (model->getLastFilterGeneration() < 0 && !getFolderViewModel()->getFilter().isModified())
{
return model->descendantsPassedFilter(filter_generation) || getVisible();
}