diff options
author | Yuri Chebotarev <ychebotarev@productengine.com> | 2009-12-18 14:36:22 +0200 |
---|---|---|
committer | Yuri Chebotarev <ychebotarev@productengine.com> | 2009-12-18 14:36:22 +0200 |
commit | 3bf89afebec3c535604789f0e2997598ac43bbe6 (patch) | |
tree | 58a92d6bc00695dc8a6f0af62c52b82dfd10d1aa | |
parent | 78d48def6ba2e7c80f1da8949079a94d2d7374af (diff) |
fix Task EXT-1190 Accordion should support keyboard accessability
--HG--
branch : product-engine
-rw-r--r-- | indra/llui/llflatlistview.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/llui/llflatlistview.cpp b/indra/llui/llflatlistview.cpp index 64a4824a17..09124c3013 100644 --- a/indra/llui/llflatlistview.cpp +++ b/indra/llui/llflatlistview.cpp @@ -530,7 +530,8 @@ BOOL LLFlatListView::handleKeyHere(KEY key, MASK mask) if ( !selectNextItemPair(true, reset_selection) && reset_selection) { // If case we are in accordion tab notify parent to go to the previous accordion - notifyParent(LLSD().with("action","select_prev")); + if(notifyParent(LLSD().with("action","select_prev")) > 0 )//message was processed + resetSelection(); } break; } @@ -539,7 +540,8 @@ BOOL LLFlatListView::handleKeyHere(KEY key, MASK mask) if ( !selectNextItemPair(false, reset_selection) && reset_selection) { // If case we are in accordion tab notify parent to go to the next accordion - notifyParent(LLSD().with("action","select_next")); + if( notifyParent(LLSD().with("action","select_next")) > 0 ) //message was processed + resetSelection(); } break; } |