From 2b22831dd0fffde8345a7b933ace46be818dec9a Mon Sep 17 00:00:00 2001 From: richard Date: Fri, 18 Dec 2009 15:18:16 -0800 Subject: ext-3307 - nearby chat stays scrolled at bottom --- indra/llui/lluictrlfactory.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'indra/llui/lluictrlfactory.h') 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(params, parent); typedef typename T::child_registry_t registry_t; -- cgit v1.2.3