summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelmaininventory.cpp
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2017-11-06 16:30:47 +0200
committerMnikolenko Productengine <mnikolenko@productengine.com>2017-11-06 16:30:47 +0200
commitece5e6b827ad278fec4a8c859fe97977cc4f1fda (patch)
tree1b7fc16ebab71b6344bc0377e18a6909a3ef0a65 /indra/newview/llpanelmaininventory.cpp
parentc8c8005e2f5ff2a7805ff37af123367cac0fbf4b (diff)
MAINT-7961 Search link in Recent tab of Inventory should open the Search filters for Inventory
Diffstat (limited to 'indra/newview/llpanelmaininventory.cpp')
-rw-r--r--indra/newview/llpanelmaininventory.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llpanelmaininventory.cpp b/indra/newview/llpanelmaininventory.cpp
index f771a027e0..ec80ff8de7 100644
--- a/indra/newview/llpanelmaininventory.cpp
+++ b/indra/newview/llpanelmaininventory.cpp
@@ -162,6 +162,7 @@ BOOL LLPanelMainInventory::postBuild()
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.setEmptyLookupMessage("InventoryNoMatchingRecentItems");
recent_filter.markDefault();
recent_items_panel->setSelectCallback(boost::bind(&LLPanelMainInventory::onSelectionChange, this, recent_items_panel, _1, _2));
}