summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorandreykproductengine <akleshchev@productengine.com>2014-05-27 18:56:15 +0300
committerandreykproductengine <akleshchev@productengine.com>2014-05-27 18:56:15 +0300
commitef26fdca3d07aee8faa34eb8ae5025b14ab57905 (patch)
treee8bb582d723b69e9bf60d711cbfe38d45b0f4c5b /indra/llui
parent7a5d2db8e35b2220e27140fe329600211373160c (diff)
MAINT-4072 FIXED Searching object content by typing letters no longer works for non-capitalised names.
Diffstat (limited to 'indra/llui')
-rwxr-xr-xindra/llui/llfolderview.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llui/llfolderview.cpp b/indra/llui/llfolderview.cpp
index e27e9c0d09..f56af6bb12 100755
--- a/indra/llui/llfolderview.cpp
+++ b/indra/llui/llfolderview.cpp
@@ -1369,7 +1369,8 @@ BOOL LLFolderView::search(LLFolderViewItem* first_item, const std::string &searc
}
}
- const std::string current_item_label(search_item->getViewModelItem()->getSearchableName());
+ std::string current_item_label(search_item->getViewModelItem()->getSearchableName());
+ LLStringUtil::toUpper(current_item_label);
S32 search_string_length = llmin(upper_case_string.size(), current_item_label.size());
if (!current_item_label.compare(0, search_string_length, upper_case_string))
{