diff options
author | AndreyL ProductEngine <alihatskiy@productengine.com> | 2017-05-22 21:25:09 +0300 |
---|---|---|
committer | AndreyL ProductEngine <alihatskiy@productengine.com> | 2017-05-22 21:25:09 +0300 |
commit | f0566985b872861414e2f13042b7cc743f967aea (patch) | |
tree | 9ee2f222b5d9e457c3b65679c060a582d52e71df /indra/llui/llaccordionctrltab.cpp | |
parent | f34bee596641318d7480acf624e04af7d8bc8bfc (diff) | |
parent | f5e0a536c1e6de34b6bffc871d1fef1efd963fdf (diff) |
Merged in lindenlab/viewer-bear
Diffstat (limited to 'indra/llui/llaccordionctrltab.cpp')
-rw-r--r-- | indra/llui/llaccordionctrltab.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llui/llaccordionctrltab.cpp b/indra/llui/llaccordionctrltab.cpp index f8ef5289db..eaf1284237 100644 --- a/indra/llui/llaccordionctrltab.cpp +++ b/indra/llui/llaccordionctrltab.cpp @@ -823,6 +823,11 @@ BOOL LLAccordionCtrlTab::handleKey(KEY key, MASK mask, BOOL called_from_parent) void LLAccordionCtrlTab::showAndFocusHeader() { + if (!mHeader) + { + return; + } + mHeader->setFocus(true); mHeader->setSelected(mSelectionEnabled); |