summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorrichard <none@none>2009-11-10 14:01:55 -0800
committerrichard <none@none>2009-11-10 14:01:55 -0800
commitf112356d77ab0dd6e47446adf0513975bc4f38a7 (patch)
tree35f5792e8e52d0e074fbe6bbf5461433e0a19a08 /indra/llui
parent595000c19c0499a0b612c272cd097a8f1ca578bd (diff)
added filenames to xui names output when using filename="" in XUI
reviewed by Richard
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/llpanel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llui/llpanel.cpp b/indra/llui/llpanel.cpp
index 07c0f3ce84..89c4656297 100644
--- a/indra/llui/llpanel.cpp
+++ b/indra/llui/llpanel.cpp
@@ -512,6 +512,8 @@ BOOL LLPanel::initPanelXML(LLXMLNodePtr node, LLView *parent, LLXMLNodePtr outpu
// add children using dimensions from referenced xml for consistent layout
setShape(params.rect);
LLUICtrlFactory::createChildren(this, referenced_xml, child_registry_t::instance());
+
+ setXMLFilename(xml_filename);
}
// ask LLUICtrlFactory for filename, since xml_filename might be empty