diff options
author | AndreyL ProductEngine <alihatskiy@productengine.com> | 2017-05-22 03:29:01 +0300 |
---|---|---|
committer | AndreyL ProductEngine <alihatskiy@productengine.com> | 2017-05-22 03:29:01 +0300 |
commit | f5e0a536c1e6de34b6bffc871d1fef1efd963fdf (patch) | |
tree | d2c85b789874d47588785f81ba3284d07f2a2d18 /indra | |
parent | 4a90678cc7406b0c2c8dad5691cdc2555186931b (diff) |
MAINT-7431 Fixed crash in LLAccordionCtrlTab::showAndFocusHeader()
Diffstat (limited to 'indra')
-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); |