summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatermediasettings.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2010-02-10 16:09:42 -0500
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2010-02-10 16:09:42 -0500
commitcc8b983398b66253d9331f3b9d6055f8b00998b9 (patch)
tree2c901fc33f6a390ef5b15c0446365b70074bbfa1 /indra/newview/llfloatermediasettings.cpp
parent662ce9b1fd6fcdf817e8fd825ce2c35e4fa52ca3 (diff)
parentda3ad612dffa422deabc5cc9afb775442f13bb45 (diff)
merge
Diffstat (limited to 'indra/newview/llfloatermediasettings.cpp')
-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();
};