diff options
author | Sergei Litovchuk <slitovchuk@productengine.com> | 2010-09-21 18:38:48 +0300 |
---|---|---|
committer | Sergei Litovchuk <slitovchuk@productengine.com> | 2010-09-21 18:38:48 +0300 |
commit | 9cd8da3f9c5e17ec48523db26187cdd097ba6e3c (patch) | |
tree | ad9fc30754a1d0fb3238c2f60e2a5d30c1877665 | |
parent | 90cd379508d41e5930e4f62f86a229d5f14c66e3 (diff) |
STORM-133 FIXED keyboard navigation in Places SP->My Landmarks while items fetch is in progress.
-rw-r--r-- | indra/newview/llfolderview.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llfolderview.cpp b/indra/newview/llfolderview.cpp index 5d8e3f9ab9..bbcd3fa652 100644 --- a/indra/newview/llfolderview.cpp +++ b/indra/newview/llfolderview.cpp @@ -1972,7 +1972,11 @@ void LLFolderView::scrollToShowSelection() { // If items are filtered while background fetch is in progress // scrollbar resets to the first filtered item. See EXT-3981. - if (!LLInventoryModelBackgroundFetch::instance().backgroundFetchActive() && mSelectedItems.size()) + // However we allow scrolling for folder views with mAutoSelectOverride + // (used in Places SP) as an exception because the selection in them + // is not reset during items filtering. See STORM-133. + if ( (!LLInventoryModelBackgroundFetch::instance().backgroundFetchActive() || mAutoSelectOverride) + && mSelectedItems.size() ) { mNeedsScroll = TRUE; } |