summaryrefslogtreecommitdiff
path: root/indra/llui/llfolderviewmodel.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-11-05 22:54:28 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-11-05 22:54:28 +0200
commitdc136e8dc886cf4798804757d3002f5711995b97 (patch)
tree72a4f6638a1e04384158042cbe512e68264d9a29 /indra/llui/llfolderviewmodel.cpp
parentd17af5f3a6303c816f357b1e94a28cae36828b69 (diff)
SL-14270 A bit of cleanup #2
Diffstat (limited to 'indra/llui/llfolderviewmodel.cpp')
-rw-r--r--indra/llui/llfolderviewmodel.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/llui/llfolderviewmodel.cpp b/indra/llui/llfolderviewmodel.cpp
index 727ed7a405..adadf979b7 100644
--- a/indra/llui/llfolderviewmodel.cpp
+++ b/indra/llui/llfolderviewmodel.cpp
@@ -169,6 +169,13 @@ LLFolderViewModelCommon::LLFolderViewModelCommon()
mFolderView(NULL)
{}
+//virtual
+void LLFolderViewModelCommon::requestSortAll()
+{
+ // sort everything
+ mTargetSortVersion++;
+}
+
bool LLFolderViewModelCommon::needsSort(LLFolderViewModelItem* item)
{
return item->getSortVersion() < mTargetSortVersion;