summaryrefslogtreecommitdiff
path: root/indra/llui/lluictrlfactory.h
diff options
context:
space:
mode:
authorrichard <none@none>2009-11-09 16:14:52 -0800
committerrichard <none@none>2009-11-09 16:14:52 -0800
commit3b2d9f63e3a54660a8657ec573cce3f29f677047 (patch)
tree2f51c9bc9a04a639ff3ac6851917f4f4df89bd0b /indra/llui/lluictrlfactory.h
parentf4a7de3bb5a837df43525ac936000fd67177ea42 (diff)
parent2bc97bd68a774dd373c5688b5dc660abe90b37cc (diff)
merge
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;
}