summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorRichard Nelson <richard@lindenlab.com>2011-10-17 15:08:44 -0700
committerRichard Nelson <richard@lindenlab.com>2011-10-17 15:08:44 -0700
commitc05d86039ca1642fd6fd7398fbbfe7f49d9e8539 (patch)
treea05d53cc71d49593836a4181d05aa35cb0d48263 /indra/newview
parentda35e58c951bffa19e47440bb51898cbc62e8bef (diff)
EXP-1384 FIX Voice requests not received in FUI viewer
fixed case where toolbar button was not in use
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llimview.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp
index 4df6eeaefc..6e9baed5f2 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;
}