diff options
author | Eugene Mutavchi <emutavchi@productengine.com> | 2009-11-27 17:51:27 +0200 |
---|---|---|
committer | Eugene Mutavchi <emutavchi@productengine.com> | 2009-11-27 17:51:27 +0200 |
commit | b7001c640e8aa153037bbeecf53933f9ac9ee04c (patch) | |
tree | 653d3287922f4120e4815fbc3473958b6de15df4 /indra/llui/llflatlistview.cpp | |
parent | 2b92341813b0b53d306683d6fc97428c40618fce (diff) |
Fixed normal bug EXT-2932(Entering filter passes focus to the group list)
--HG--
branch : product-engine
Diffstat (limited to 'indra/llui/llflatlistview.cpp')
-rw-r--r-- | indra/llui/llflatlistview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llui/llflatlistview.cpp b/indra/llui/llflatlistview.cpp index 26a03e922a..ddfb0f8534 100644 --- a/indra/llui/llflatlistview.cpp +++ b/indra/llui/llflatlistview.cpp @@ -484,6 +484,8 @@ void LLFlatListView::rearrangeItems() void LLFlatListView::onItemMouseClick(item_pair_t* item_pair, MASK mask) { if (!item_pair) return; + + setFocus(TRUE); bool select_item = !isSelected(item_pair); @@ -654,8 +656,6 @@ bool LLFlatListView::selectItemPair(item_pair_t* item_pair, bool select) onCommit(); } - setFocus(TRUE); - // Stretch selected items rect to ensure it won't be clipped mSelectedItemsBorder->setRect(getSelectedItemsRect().stretch(-1)); |