summaryrefslogtreecommitdiff
path: root/indra/llui/lluictrlfactory.h
diff options
context:
space:
mode:
authorrichard <none@none>2009-11-09 15:29:47 -0800
committerrichard <none@none>2009-11-09 15:29:47 -0800
commit4eb72a12a2280d3be6ac556ad80eb953d249e8eb (patch)
tree9316784e58adc830d5cd893694698e38786af561 /indra/llui/lluictrlfactory.h
parentfac0b6836a59681443fb2bbd13e6b5eb9c07cef5 (diff)
data driven layout of top-level UI elements
EXT-1219 Side tray slide-out animation cleaned up some layout of bottom tray contents reviewed by James
Diffstat (limited to 'indra/llui/lluictrlfactory.h')
-rw-r--r--indra/llui/lluictrlfactory.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/lluictrlfactory.h b/indra/llui/lluictrlfactory.h
index 17e32dc7a9..0ccd3047f6 100644
--- a/indra/llui/lluictrlfactory.h
+++ b/indra/llui/lluictrlfactory.h
@@ -188,7 +188,7 @@ public:
T* widget = new T(params);
widget->initFromParams(params);
if (parent)
- widget->setParent(parent);
+ parent->addChild(widget);
return widget;
}