Permalink
Browse files

Fix SV-2078: Reset inventory type filter on clearing search filter

  • Loading branch information...
1 parent 31dbe29 commit a68a345c32cc528eb0cf51444af88ac4178cd736 @Lirusaito Lirusaito committed Jun 28, 2016
Showing with 7 additions and 0 deletions.
  1. +7 −0 indra/newview/llpanelmaininventory.cpp
@@ -520,6 +520,13 @@ void LLPanelMainInventory::onFilterEdit(const std::string& search_string )
return;
}
+ if (search_string.empty())
+ {
+ mActivePanel->setFilterTypes(0xffffffffffffffffULL);
+ if (auto* finder = getFinder())
+ LLFloaterInventoryFinder::selectAllTypes(finder);
+ }
+
// set new filter string
// Internally handles saving/restoring folder states.
mActivePanel->setFilterSubString(search_string);

0 comments on commit a68a345

Please sign in to comment.