diff options
author | Merov Linden <merov@lindenlab.com> | 2011-05-03 13:18:16 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2011-05-03 13:18:16 -0700 |
commit | 64b192ed6274349a4b8844a9e0165e8b25f3a6ad (patch) | |
tree | 02eda71b039d1fa7a205e7ff91504bf0b4a0227d /indra/newview/llfolderview.cpp | |
parent | d5faa4f38d338777463b7ad6eb3239041d43fe28 (diff) |
EXP-756 : Fix inventory folder ordering on launch
Diffstat (limited to 'indra/newview/llfolderview.cpp')
-rw-r--r-- | indra/newview/llfolderview.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/indra/newview/llfolderview.cpp b/indra/newview/llfolderview.cpp index b3b1ce5743..3884b94b60 100644 --- a/indra/newview/llfolderview.cpp +++ b/indra/newview/llfolderview.cpp @@ -301,18 +301,6 @@ BOOL LLFolderView::canFocusChildren() const return FALSE; } -void LLFolderView::checkTreeResortForModelChanged() -{ - if (mSortOrder & LLInventoryFilter::SO_DATE && !(mSortOrder & LLInventoryFilter::SO_FOLDERS_BY_NAME)) - { - // This is the case where something got added or removed. If we are date sorting - // everything including folders, then we need to rebuild the whole tree. - // Just set to something not SO_DATE to force the folder most resent date resort. - mSortOrder = mSortOrder & ~LLInventoryFilter::SO_DATE; - setSortOrder(mSortOrder | LLInventoryFilter::SO_DATE); - } -} - static LLFastTimer::DeclareTimer FTM_SORT("Sort Inventory"); void LLFolderView::setSortOrder(U32 order) |