summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelpick.cpp
diff options
context:
space:
mode:
authorMerov Linden <merov@lindenlab.com>2010-10-12 16:08:31 -0700
committerMerov Linden <merov@lindenlab.com>2010-10-12 16:08:31 -0700
commite3ecffc180ae50a0e8b726a061ec39cbe591326e (patch)
tree3501d25df3c89517988251557e34a9fc268287f1 /indra/newview/llpanelpick.cpp
parent88e33d00cd189aec6ef9b5aa481d4d9a2777b1fb (diff)
parenta8fbfa40ba6153668e1f713ae0e128224b4f400f (diff)
Pull update from viewer-development
Diffstat (limited to 'indra/newview/llpanelpick.cpp')
-rw-r--r--indra/newview/llpanelpick.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llpanelpick.cpp b/indra/newview/llpanelpick.cpp
index 7615a93a49..271728220c 100644
--- a/indra/newview/llpanelpick.cpp
+++ b/indra/newview/llpanelpick.cpp
@@ -74,7 +74,7 @@
LLPanelPickInfo* LLPanelPickInfo::create()
{
LLPanelPickInfo* panel = new LLPanelPickInfo();
- LLUICtrlFactory::getInstance()->buildPanel(panel, XML_PANEL_PICK_INFO);
+ panel->buildFromFile(XML_PANEL_PICK_INFO);
return panel;
}
@@ -344,7 +344,7 @@ void LLPanelPickInfo::onClickBack()
LLPanelPickEdit* LLPanelPickEdit::create()
{
LLPanelPickEdit* panel = new LLPanelPickEdit();
- LLUICtrlFactory::getInstance()->buildPanel(panel, XML_PANEL_EDIT_PICK);
+ panel->buildFromFile(XML_PANEL_EDIT_PICK);
return panel;
}