summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-02-10 17:36:40 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2010-02-10 17:36:40 +0000
commit8419c4ec8aac52214a1a21bb3c00f4dc60fc8b6b (patch)
tree179f54278c001f9933926a663cd4430016d62054 /indra
parent143de8db4e02d1341afc3d1fb590d2c4483d585d (diff)
CID-95
Checker: FORWARD_NULL Function: LLFloaterMediaSettings::commitFields() File: /indra/newview/llfloatermediasettings.cpp
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llfloatermediasettings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfloatermediasettings.cpp b/indra/newview/llfloatermediasettings.cpp
index 7388f7ea3f..62ec17f89a 100644
--- a/indra/newview/llfloatermediasettings.cpp
+++ b/indra/newview/llfloatermediasettings.cpp
@@ -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();
};