diff options
author | Alexander Gavriliuk <alexandrgproductengine@lindenlab.com> | 2024-09-03 18:05:45 +0200 |
---|---|---|
committer | Guru <alexandrgproductengine@lindenlab.com> | 2024-09-08 00:11:56 +0200 |
commit | 2b7b81fbdbaaaa8698828af9529f9693692da2a2 (patch) | |
tree | a5c5fdfea2b228c347e3fe7b5c8e4fe2e854babf /indra/newview/llinventorypanel.cpp | |
parent | 2e886b7cfef14d087c2167e3384e9e19dcb3ff63 (diff) |
#459 Filters on object inventory
Diffstat (limited to 'indra/newview/llinventorypanel.cpp')
-rw-r--r-- | indra/newview/llinventorypanel.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp index 9e4f4c0adc..e4d1010231 100644 --- a/indra/newview/llinventorypanel.cpp +++ b/indra/newview/llinventorypanel.cpp @@ -414,8 +414,10 @@ void LLInventoryPanel::setFilterTypes(U64 types, LLInventoryFilter::EFilterType { getFilter().setFilterObjectTypes(types); } - if (filter_type == LLInventoryFilter::FILTERTYPE_CATEGORY) + else if (filter_type == LLInventoryFilter::FILTERTYPE_CATEGORY) + { getFilter().setFilterCategoryTypes(types); + } } void LLInventoryPanel::setFilterWorn() |