summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandreykproductengine <akleshchev@productengine.com>2014-07-30 18:39:50 +0300
committerandreykproductengine <akleshchev@productengine.com>2014-07-30 18:39:50 +0300
commit21a0ea1209acc5f531e9ae7a477d0361f107aeee (patch)
treead0106cada17e9e81657e3dd27f21a2d0be6fd2e
parent0ea34fba7347987d95926ef5ef20019a6e3bcf86 (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.
-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 b9593e745d..7c88f8fb9b 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();
}