aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfolderview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llfolderview.cpp')
-rw-r--r--linden/indra/newview/llfolderview.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/linden/indra/newview/llfolderview.cpp b/linden/indra/newview/llfolderview.cpp
index ff0ad3f..bd5be8e 100644
--- a/linden/indra/newview/llfolderview.cpp
+++ b/linden/indra/newview/llfolderview.cpp
@@ -1921,7 +1921,7 @@ void LLFolderViewFolder::requestArrange(BOOL include_descendants)
1921{ 1921{
1922 mLastArrangeGeneration = -1; 1922 mLastArrangeGeneration = -1;
1923 // flag all items up to root 1923 // flag all items up to root
1924 if (mParentFolder && !mParentFolder->needsArrange()) 1924 if (mParentFolder)
1925 { 1925 {
1926 mParentFolder->requestArrange(); 1926 mParentFolder->requestArrange();
1927 } 1927 }
@@ -4282,7 +4282,8 @@ void LLFolderView::idle(void* user_data)
4282 { 4282 {
4283 self->scrollToShowItem(self->mSelectedItems.back()); 4283 self->scrollToShowItem(self->mSelectedItems.back());
4284 // continue scrolling until animated layout change is done 4284 // continue scrolling until animated layout change is done
4285 if (!self->needsArrange() || !self->isInVisibleChain()) 4285 if (self->getCompletedFilterGeneration() >= self->mFilter.getMinRequiredGeneration() &&
4286 (!self->needsArrange() || !self->isInVisibleChain()))
4286 { 4287 {
4287 self->mNeedsScroll = FALSE; 4288 self->mNeedsScroll = FALSE;
4288 } 4289 }