summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorSeth ProductEngine <slitovchuk@productengine.com>2012-04-04 00:17:02 +0300
committerSeth ProductEngine <slitovchuk@productengine.com>2012-04-04 00:17:02 +0300
commit780075cecc3d7b8b1558142081a2c407597402b9 (patch)
treeaf7ccf46ebcc512a3452d016179a77d588ff0437 /indra/newview
parentd154bc0e0b11f354cd68b3e5f57bdce45faeeabe (diff)
MAINT-845 FIXED Inventory items auto selection is disabled during filtering, unless a search string is being typed in.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llfolderview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfolderview.cpp b/indra/newview/llfolderview.cpp
index e0d7d67f7d..abbc0f7491 100644
--- a/indra/newview/llfolderview.cpp
+++ b/indra/newview/llfolderview.cpp
@@ -2195,7 +2195,7 @@ void LLFolderView::doIdle()
mFilter->clearModified();
BOOL filter_modified_and_active = mCompletedFilterGeneration < mFilter->getCurrentGeneration() &&
mFilter->isNotDefault();
- mNeedsAutoSelect = filter_modified_and_active &&
+ mNeedsAutoSelect = mFilter->hasFilterString() &&
!(gFocusMgr.childHasKeyboardFocus(this) || gFocusMgr.getMouseCapture());
// filter to determine visiblity before arranging