From 543fdfd512ae63a6a2e077c50027fc5ceb0a8e2a Mon Sep 17 00:00:00 2001 From: James Cook Date: Fri, 13 Nov 2009 09:07:14 -0800 Subject: More explicit test code for dummy widget creation. Added "Inspectors Test" back to login debug menu. --- indra/newview/llfloatertestinspectors.cpp | 3 ++- indra/newview/skins/default/xui/en/menu_login.xml | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'indra/newview') diff --git a/indra/newview/llfloatertestinspectors.cpp b/indra/newview/llfloatertestinspectors.cpp index e68faba712..09996b0b92 100644 --- a/indra/newview/llfloatertestinspectors.cpp +++ b/indra/newview/llfloatertestinspectors.cpp @@ -53,7 +53,8 @@ LLFloaterTestInspectors::~LLFloaterTestInspectors() BOOL LLFloaterTestInspectors::postBuild() { - getChild("intentionally-not-found"); + // Test the dummy widget construction code + getChild("intentionally-not-found")->setEnabled(true); // getChild("avatar_2d_btn")->setCommitCallback( // boost::bind(&LLFloaterTestInspectors::onClickAvatar2D, this)); diff --git a/indra/newview/skins/default/xui/en/menu_login.xml b/indra/newview/skins/default/xui/en/menu_login.xml index bd60574a95..07940e18b6 100644 --- a/indra/newview/skins/default/xui/en/menu_login.xml +++ b/indra/newview/skins/default/xui/en/menu_login.xml @@ -193,6 +193,13 @@ function="ShowFloater" parameter="test_widgets" /> + + + -- cgit v1.2.3