Skip to content
Snippets Groups Projects
Commit 403485b2 authored by Sergei Litovchuk's avatar Sergei Litovchuk
Browse files

EXT-3981 FIXED Disabled folder view automatic scrolling while background fetch is in progress.

Reviewed by Loren Shih at https://codereview.productengine.com/secondlife/r/835/.

--HG--
branch : product-engine
parent ea5f5f0a
No related branches found
No related tags found
No related merge requests found
...@@ -561,7 +561,9 @@ void LLFolderView::addToSelectionList(LLFolderViewItem* item) ...@@ -561,7 +561,9 @@ void LLFolderView::addToSelectionList(LLFolderViewItem* item)
void LLFolderView::removeFromSelectionList(LLFolderViewItem* item) void LLFolderView::removeFromSelectionList(LLFolderViewItem* item)
{ {
if (mSelectedItems.size()) // 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())
{ {
mSelectedItems.back()->setIsCurSelection(FALSE); mSelectedItems.back()->setIsCurSelection(FALSE);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment