summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorEugene Kondrashev <ekondrashev@productengine.com>2009-11-13 12:59:19 +0200
committerEugene Kondrashev <ekondrashev@productengine.com>2009-11-13 12:59:19 +0200
commitb256d57b0dbdd39dd36abcdb51a6b70698c60bba (patch)
treee2b47a6f434ab2514f47604b55c9a7165b44c99e /indra
parenteb1484a0c9b6a075c900371cc5d7e8c4c0a4f93f (diff)
No ticket. Fix to prevent crash.
--HG-- branch : product-engine
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llimpanel.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llimpanel.cpp b/indra/newview/llimpanel.cpp
index 0b8b5935f8..3178658faa 100644
--- a/indra/newview/llimpanel.cpp
+++ b/indra/newview/llimpanel.cpp
@@ -849,7 +849,8 @@ void LLFloaterIMPanel::processSessionUpdate(const LLSD& session_update)
//update the speakers dropdown too
- mSpeakerPanel->setVoiceModerationCtrlMode(voice_moderated);
+ if (mSpeakerPanel)
+ mSpeakerPanel->setVoiceModerationCtrlMode(voice_moderated);
}
}