diff options
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llinventorygallery.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/indra/newview/llinventorygallery.cpp b/indra/newview/llinventorygallery.cpp index 694881372d..53b62c7fb7 100644 --- a/indra/newview/llinventorygallery.cpp +++ b/indra/newview/llinventorygallery.cpp @@ -661,10 +661,11 @@ bool LLInventoryGallery::applyFilter(LLInventoryGalleryItem* item, const std::st { if(item) { - item->setHidden(!checkAgainstFilters(item, filter_substring)); - return false; + bool visible = checkAgainstFilters(item, filter_substring); + item->setHidden(!visible); + return visible; } - return true; + return false; } bool LLInventoryGallery::checkAgainstFilters(LLInventoryGalleryItem* item, const std::string& filter_substring) @@ -762,6 +763,7 @@ void LLInventoryGallery::onIdle(void* userdata) { self->mNeedsArrange = false; self->reArrangeRows(); + self->updateMessageVisibility(); } if (self->mItemToSelect.notNull()) |