summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelobjectinventory.cpp
diff options
context:
space:
mode:
authorRichard Linden <none@none>2012-06-29 15:44:08 -0700
committerRichard Linden <none@none>2012-06-29 15:44:08 -0700
commit062cae9a4880f7672df7f6189e01b2bff15f42f1 (patch)
tree4aab577897386529de214879d9af17275d53acf8 /indra/newview/llpanelobjectinventory.cpp
parent07afce2ac86c4c66e8b094ecf977ee5ec5566671 (diff)
CHUI-101 WIP Make LLFolderView general purpose
cleaned up some stale TODOs worked on getting initial inventory display to work consistently
Diffstat (limited to 'indra/newview/llpanelobjectinventory.cpp')
-rw-r--r--indra/newview/llpanelobjectinventory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpanelobjectinventory.cpp b/indra/newview/llpanelobjectinventory.cpp
index d0b9072ade..450e1f7ed0 100644
--- a/indra/newview/llpanelobjectinventory.cpp
+++ b/indra/newview/llpanelobjectinventory.cpp
@@ -1566,7 +1566,7 @@ void LLPanelObjectInventory::reset()
mFolders = LLUICtrlFactory::create<LLFolderView>(p);
// this ensures that we never say "searching..." or "no items found"
//TODO RN: make this happen by manipulating filter object directly
- //mFolders->getFilter()->setShowFolderState(LLInventoryFilter::SHOW_ALL_FOLDERS);
+ static_cast<LLInventoryFilter*>(mFolders->getFolderViewModel()->getFilter())->setShowFolderState(LLInventoryFilter::SHOW_ALL_FOLDERS);
mFolders->setCallbackRegistrar(&mCommitCallbackRegistrar);
if (hasFocus())