summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorypanel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llinventorypanel.cpp')
-rw-r--r--indra/newview/llinventorypanel.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llinventorypanel.cpp b/indra/newview/llinventorypanel.cpp
index bd15e55b9a..9827fa8c5c 100644
--- a/indra/newview/llinventorypanel.cpp
+++ b/indra/newview/llinventorypanel.cpp
@@ -2132,6 +2132,15 @@ void LLInventorySingleFolderPanel::setSelectCallback(const boost::function<void(
}
}
+void LLInventorySingleFolderPanel::setScroller(LLScrollContainer* scroller)
+{
+ mExternalScroller = scroller;
+ if (mFolderRoot.get())
+ {
+ mFolderRoot.get()->setScrollContainer(mExternalScroller);
+ }
+}
+
void LLInventorySingleFolderPanel::initFromParams(const Params& p)
{
mFolderID = gInventory.getRootFolderID();