From 271883e7373d3a64043a338d22a5194a65651ca8 Mon Sep 17 00:00:00 2001 From: Shyotl Date: Wed, 23 May 2012 18:23:27 -0500 Subject: [PATCH] 'Voice Preferences->Device Settings' crashfix. (NullPtr) --- indra/newview/llprefsvoice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llprefsvoice.cpp b/indra/newview/llprefsvoice.cpp index e45a9c2c2..b009dff6d 100644 --- a/indra/newview/llprefsvoice.cpp +++ b/indra/newview/llprefsvoice.cpp @@ -114,7 +114,7 @@ BOOL LLPrefsVoice::postBuild() childSetCommitCallback("enable_voice_check", onCommitEnableVoiceChat, this); childSetAction("set_voice_hotkey_button", onClickSetKey, this); childSetAction("set_voice_middlemouse_button", onClickSetMiddleMouse, this); - childSetAction("device_settings_btn", onClickVoiceDeviceSettings, NULL); + childSetAction("device_settings_btn", onClickVoiceDeviceSettings, this); BOOL voice_disabled = gSavedSettings.getBOOL("CmdLineDisableVoice"); childSetVisible("voice_unavailable", voice_disabled);