diff options
author | Oz Linden <oz@lindenlab.com> | 2014-04-21 16:21:31 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2014-04-21 16:21:31 -0400 |
commit | b1a7137ba6e56e1b692205f129d86acc942209e9 (patch) | |
tree | 595b9e3a2b9e4be799459e06c9b33793013d0ae0 /indra/newview/llplacesinventorypanel.cpp | |
parent | 32bbb07f0a727b5aa318ba3c32764ec29cc96956 (diff) | |
parent | c71e459bed68c1602d409e5c946c5e016d09d105 (diff) |
merge changes for 3.7.6-release
Diffstat (limited to 'indra/newview/llplacesinventorypanel.cpp')
-rwxr-xr-x | indra/newview/llplacesinventorypanel.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/indra/newview/llplacesinventorypanel.cpp b/indra/newview/llplacesinventorypanel.cpp index 4c2213c198..5eadd65884 100755 --- a/indra/newview/llplacesinventorypanel.cpp +++ b/indra/newview/llplacesinventorypanel.cpp @@ -91,17 +91,17 @@ LLFolderView * LLPlacesInventoryPanel::createFolderRoot(LLUUID root_id ) void LLPlacesInventoryPanel::saveFolderState() { mSavedFolderState->setApply(FALSE); - mFolderRoot->applyFunctorRecursively(*mSavedFolderState); + mFolderRoot.get()->applyFunctorRecursively(*mSavedFolderState); } // re-open folders which state was saved void LLPlacesInventoryPanel::restoreFolderState() { mSavedFolderState->setApply(TRUE); - mFolderRoot->applyFunctorRecursively(*mSavedFolderState); + mFolderRoot.get()->applyFunctorRecursively(*mSavedFolderState); LLOpenFoldersWithSelection opener; - mFolderRoot->applyFunctorRecursively(opener); - mFolderRoot->scrollToShowSelection(); + mFolderRoot.get()->applyFunctorRecursively(opener); + mFolderRoot.get()->scrollToShowSelection(); } S32 LLPlacesInventoryPanel::notify(const LLSD& info) @@ -111,11 +111,11 @@ S32 LLPlacesInventoryPanel::notify(const LLSD& info) std::string str_action = info["action"]; if(str_action == "select_first") { - return mFolderRoot->notify(info); + return mFolderRoot.get()->notify(info); } else if(str_action == "select_last") { - return mFolderRoot->notify(info); + return mFolderRoot.get()->notify(info); } } return 0; |