Checker: NULL_RETURNS
Function: LLTabContainer::onTabBtn(const LLSD &, LLPanel *)
File: /indra/llui/lltabcontainer.cpp
master
Tofu Linden 2010-01-27 11:55:34 -08:00
parent 4cad6333ab
commit 3acf25d5fc
1 changed files with 4 additions and 1 deletions

View File

@ -1590,7 +1590,10 @@ void LLTabContainer::onTabBtn( const LLSD& data, LLPanel* panel )
LLTabTuple* tuple = getTabByPanel(panel);
selectTabPanel( panel );
tuple->mTabPanel->setFocus(TRUE);
if (tuple)
{
tuple->mTabPanel->setFocus(TRUE);
}
}
void LLTabContainer::onNextBtn( const LLSD& data )