summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelgenerictip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llpanelgenerictip.cpp')
-rw-r--r--indra/newview/llpanelgenerictip.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpanelgenerictip.cpp b/indra/newview/llpanelgenerictip.cpp
index 2660814afc..4ccdaa78f3 100644
--- a/indra/newview/llpanelgenerictip.cpp
+++ b/indra/newview/llpanelgenerictip.cpp
@@ -36,7 +36,7 @@ LLPanelGenericTip::LLPanelGenericTip(
const LLNotificationPtr& notification) :
LLPanelTipToast(notification)
{
- LLUICtrlFactory::getInstance()->buildPanel(this, "panel_generic_tip.xml");
+ buildFromFile( "panel_generic_tip.xml");
getChild<LLUICtrl>("message")->setValue(notification->getMessage());