diff options
author | Sergei Litovchuk <slitovchuk@productengine.com> | 2010-02-25 22:49:37 +0200 |
---|---|---|
committer | Sergei Litovchuk <slitovchuk@productengine.com> | 2010-02-25 22:49:37 +0200 |
commit | a3e549639130eec752d99db767eb1992cc3a0661 (patch) | |
tree | a8663d27514020b251e8f10ec9ccb2fb8eb0772e | |
parent | 272c42d7cfc88026d5326943845fd3a2cef68e25 (diff) |
Fixed normal bug (EXT-5729) My Landmarks search doesn't auto expand folders of found terms.
--HG--
branch : product-engine
-rw-r--r-- | indra/newview/llfolderview.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llfolderview.cpp b/indra/newview/llfolderview.cpp index 7d527fa98a..e50753c1c5 100644 --- a/indra/newview/llfolderview.cpp +++ b/indra/newview/llfolderview.cpp @@ -2163,6 +2163,15 @@ void LLFolderView::doIdle() LLSelectFirstFilteredItem filter; applyFunctorRecursively(filter); } + + // Open filtered folders for folder views with mAutoSelectOverride=TRUE. + // Used by LLPlacesFolderView. + if (mAutoSelectOverride && mFilter->getFilterSubString() != "") + { + LLOpenFilteredFolders filter; + applyFunctorRecursively(filter); + } + scrollToShowSelection(); } |