CID-95
Checker: FORWARD_NULL Function: LLFloaterMediaSettings::commitFields() File: /indra/newview/llfloatermediasettings.cppmeow-7.2.2
parent
143de8db4e
commit
8419c4ec8a
|
|
@ -207,7 +207,7 @@ void LLFloaterMediaSettings::commitFields()
|
|||
if (hasFocus())
|
||||
{
|
||||
LLUICtrl* cur_focus = dynamic_cast<LLUICtrl*>(gFocusMgr.getKeyboardFocus());
|
||||
if (cur_focus->acceptsTextInput())
|
||||
if (cur_focus && cur_focus->acceptsTextInput())
|
||||
{
|
||||
cur_focus->onCommit();
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue