diff options
author | Richard Nelson <none@none> | 2010-03-10 18:29:25 -0800 |
---|---|---|
committer | Richard Nelson <none@none> | 2010-03-10 18:29:25 -0800 |
commit | 27db10b5265b51ea06803becb2e899068352ed32 (patch) | |
tree | 14398b249cbd5d1b8e230b03c9919a0d06fc105e /indra/llui | |
parent | f6754b9fd09754c7ec9e3d8082631c4fa8151aa7 (diff) | |
parent | ebc63494b3a7791be00c91ca51387a73c975f912 (diff) |
merge
Diffstat (limited to 'indra/llui')
-rw-r--r-- | indra/llui/llflatlistview.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/llui/llflatlistview.cpp b/indra/llui/llflatlistview.cpp index 2481249f91..2e5aeec41d 100644 --- a/indra/llui/llflatlistview.cpp +++ b/indra/llui/llflatlistview.cpp @@ -492,6 +492,12 @@ void LLFlatListView::onItemMouseClick(item_pair_t* item_pair, MASK mask) { if (!item_pair) return; + if (!item_pair->first) + { + llwarning("Attempt to selet an item pair containing null panel item", 0); + return; + } + setFocus(TRUE); bool select_item = !isSelected(item_pair); |