summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-09-27 23:50:46 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2023-09-27 23:50:46 +0300
commitad6dceb1c3e9024c93be6c7212b4d3687ca13e0d (patch)
tree6953690b0085bc68805827a89314e6d4e6b4631b
parent08579cdb1968979b43d9bc8df54e6f2ecfa60051 (diff)
SL-15039 Fixed missed filter time variable
-rw-r--r--indra/llui/llfolderviewmodel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llui/llfolderviewmodel.cpp b/indra/llui/llfolderviewmodel.cpp
index 93122503d1..394581d6d7 100644
--- a/indra/llui/llfolderviewmodel.cpp
+++ b/indra/llui/llfolderviewmodel.cpp
@@ -48,8 +48,8 @@ std::string LLFolderViewModelCommon::getStatusText()
void LLFolderViewModelCommon::filter()
{
- static LLCachedControl<S32> max_time(*LLUI::getInstance()->mSettingGroups["config"], "FilterItemsMaxTimePerFrameVisible", 10);
- getFilter().resetTime(llclamp(max_time(), 1, 100));
+ const S32 MAX_FILTER_TIME = 10;
+ getFilter().resetTime(MAX_FILTER_TIME);
mFolderView->getViewModelItem()->filter(getFilter());
}