summaryrefslogtreecommitdiff
path: root/indra/llui/lluictrlfactory.h
diff options
context:
space:
mode:
authorrichard <none@none>2009-11-10 12:05:36 -0800
committerrichard <none@none>2009-11-10 12:05:36 -0800
commit595000c19c0499a0b612c272cd097a8f1ca578bd (patch)
treedc88a193c3275b23bcc2efb1180ff5eb1e90fac9 /indra/llui/lluictrlfactory.h
parentecf8f5c5beda9f5fa743c4666717c4378f204023 (diff)
parent1eaab29a95439c6688c903b224e660de0fc9a053 (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;
}