summaryrefslogtreecommitdiff
path: root/indra/llui/lluictrlfactory.h
diff options
context:
space:
mode:
authorRick Pasetto <rick@lindenlab.com>2009-12-21 11:54:27 -0800
committerRick Pasetto <rick@lindenlab.com>2009-12-21 11:54:27 -0800
commit7012b7e5a7b6fc4a1ff2e04713105eb56b4dc9ca (patch)
tree8660484c9e23bf93623abf326f3d9b787b86f43d /indra/llui/lluictrlfactory.h
parentfdaa7c3798efd070ac1f4ce707303f7f4ae89ea7 (diff)
parentc308dacfe26fa67e5871ba174dbc0c6cc545a6dd (diff)
Automated merge with ssh://richard@hg.lindenlab.com/james/gooey
Diffstat (limited to 'indra/llui/lluictrlfactory.h')
-rw-r--r--indra/llui/lluictrlfactory.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/llui/lluictrlfactory.h b/indra/llui/lluictrlfactory.h
index 6788f29ba9..b1fa6add67 100644
--- a/indra/llui/lluictrlfactory.h
+++ b/indra/llui/lluictrlfactory.h
@@ -184,8 +184,6 @@ public:
{
T* widget = NULL;
- T::setupParams(params, parent);
-
if (!params.validateBlock())
{
llwarns << getInstance()->getCurFileName() << ": Invalid parameter block for " << typeid(T).name() << llendl;
@@ -310,6 +308,7 @@ fail:
// Apply layout transformations, usually munging rect
params.from_xui = true;
+ T::applyXUILayout(params, parent);
T* widget = createWidget<T>(params, parent);
typedef typename T::child_registry_t registry_t;