SL-15039 Fixed missed filter time variable

master
Andrey Kleshchev 2023-09-27 23:50:46 +03:00
parent 08579cdb19
commit ad6dceb1c3
1 changed files with 2 additions and 2 deletions

View File

@ -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());
}