summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelmaininventory.cpp
diff options
context:
space:
mode:
authorJonathan Yap <none@none>2010-12-07 10:14:07 -0500
committerJonathan Yap <none@none>2010-12-07 10:14:07 -0500
commit066dfaee2866ff7585387db50ceca391a4ecb519 (patch)
treed16a83b6e69bdd8d0b0a43aa3af94de935982414 /indra/newview/llpanelmaininventory.cpp
parent45c7663cef287665945a148cce5751f253ee3a0f (diff)
Add + control to Inventory/Recent tab
Diffstat (limited to 'indra/newview/llpanelmaininventory.cpp')
-rw-r--r--indra/newview/llpanelmaininventory.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/llpanelmaininventory.cpp b/indra/newview/llpanelmaininventory.cpp
index 17433a557b..c295f93a67 100644
--- a/indra/newview/llpanelmaininventory.cpp
+++ b/indra/newview/llpanelmaininventory.cpp
@@ -506,8 +506,7 @@ void LLPanelMainInventory::onFilterSelected()
return;
}
- BOOL recent_active = ("Recent Items" == mActivePanel->getName());
- getChildView("add_btn_panel")->setVisible( !recent_active);
+ getChildView("add_btn_panel")->setVisible(true);
setFilterSubString(mFilterSubString);
LLInventoryFilter* filter = mActivePanel->getFilter();