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.
master
andreykproductengine 2014-07-30 18:33:49 +03:00
parent 7d8b90ce98
commit b18e4f7a51
1 changed files with 1 additions and 1 deletions

View File

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