From c05d86039ca1642fd6fd7398fbbfe7f49d9e8539 Mon Sep 17 00:00:00 2001
From: Richard Nelson <richard@lindenlab.com>
Date: Mon, 17 Oct 2011 15:08:44 -0700
Subject: [PATCH] EXP-1384 FIX Voice requests not received in FUI viewer fixed
 case where toolbar button was not in use

---
 indra/newview/llimview.cpp | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp
index 4df6eeaefcf..6e9baed5f2d 100644
--- a/indra/newview/llimview.cpp
+++ b/indra/newview/llimview.cpp
@@ -1681,10 +1681,8 @@ BOOL LLCallDialog::postBuild()
 		return FALSE;
 
 	LLView *anchor_panel = gToolBarView->findChildView("speak");
-	if (anchor_panel)
-	{
-		setDockControl(new LLDockControl(anchor_panel, this, getDockTongue(), LLDockControl::TOP));
-	}
+	setDockControl(new LLDockControl(anchor_panel, this, getDockTongue(), LLDockControl::TOP));
+
 	return TRUE;
 }
 
-- 
GitLab