summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelobjectinventory.cpp
diff options
context:
space:
mode:
authorRye Mutt <rye@alchemyviewer.org>2022-10-19 16:19:33 -0400
committerRye Mutt <rye@alchemyviewer.org>2022-10-19 16:21:05 -0400
commitb9552e596fdeaf577d1de1e6d4d2ba5d46bceeb9 (patch)
tree8036e037008d603f338c311d5cc0d2f21d40bca7 /indra/newview/llpanelobjectinventory.cpp
parent1fb1a9df7a6664946f1f758330a0e6cfaef0dd8f (diff)
Reduce folderview menu bloat via lazy creation on right click
Diffstat (limited to 'indra/newview/llpanelobjectinventory.cpp')
-rw-r--r--indra/newview/llpanelobjectinventory.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llpanelobjectinventory.cpp b/indra/newview/llpanelobjectinventory.cpp
index cfaa9456be..17b4528d97 100644
--- a/indra/newview/llpanelobjectinventory.cpp
+++ b/indra/newview/llpanelobjectinventory.cpp
@@ -1360,6 +1360,7 @@ void LLPanelObjectInventory::reset()
mFolders = LLUICtrlFactory::create<LLFolderView>(p);
mFolders->setCallbackRegistrar(&mCommitCallbackRegistrar);
+ mFolders->setEnableRegistrar(&mEnableCallbackRegistrar);
if (hasFocus())
{