diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-05-31 00:17:36 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2023-05-31 00:21:48 +0300 |
commit | 1834cc1a8be0b4519d774ca52202677ccaf40933 (patch) | |
tree | be8d0089620219c7ce0014b6dca91ca36170a079 /indra/newview/llinventorypanel.cpp | |
parent | caa21f9054c51eea6557c9f0d080d91e43e44018 (diff) |
SL-19795 Creating folders in combination mode does not scroll to new folder
Diffstat (limited to 'indra/newview/llinventorypanel.cpp')
-rw-r--r-- | indra/newview/llinventorypanel.cpp | 9 |
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(); |