diff options
| -rwxr-xr-x | indra/newview/llinventorypanel.cpp | 6 | ||||
| -rwxr-xr-x | indra/newview/llpanelmaininventory.cpp | 4 | 
2 files changed, 1 insertions, 9 deletions
diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp index 32e5675f5e..ce7d4f50ad 100755 --- a/indra/newview/llinventorypanel.cpp +++ b/indra/newview/llinventorypanel.cpp @@ -337,12 +337,6 @@ void LLInventoryPanel::setFilterTypes(U64 types, LLInventoryFilter::EFilterType  {  	if (filter_type == LLInventoryFilter::FILTERTYPE_OBJECT)  	{ -		//Don't show folder without recent item in it -		if ("Recent Items" == getName()) -		{ -			types &= ~(0x1 << LLInventoryType::IT_CATEGORY); -		} -  		getFilter().setFilterObjectTypes(types);  	}  	if (filter_type == LLInventoryFilter::FILTERTYPE_CATEGORY) diff --git a/indra/newview/llpanelmaininventory.cpp b/indra/newview/llpanelmaininventory.cpp index ddf1a63c6e..90dfb24377 100755 --- a/indra/newview/llpanelmaininventory.cpp +++ b/indra/newview/llpanelmaininventory.cpp @@ -151,9 +151,7 @@ BOOL LLPanelMainInventory::postBuild()  		recent_items_panel->setSinceLogoff(TRUE);  		recent_items_panel->setSortOrder(LLInventoryFilter::SO_DATE);  		recent_items_panel->setShowFolderState(LLInventoryFilter::SHOW_NON_EMPTY_FOLDERS); -		LLInventoryFilter& recent_filter = recent_items_panel->getFilter(); -		recent_filter.setFilterObjectTypes(recent_filter.getFilterObjectTypes() & ~(0x1 << LLInventoryType::IT_CATEGORY)); -		recent_filter.markDefault(); +		recent_items_panel->getFilter().markDefault();  		recent_items_panel->setSelectCallback(boost::bind(&LLPanelMainInventory::onSelectionChange, this, recent_items_panel, _1, _2));  	}  | 
