More explicit test code for dummy widget creation.

Added "Inspectors Test" back to login debug menu.
master
James Cook 2009-11-13 09:07:14 -08:00
parent 20c0a0b68f
commit 543fdfd512
2 changed files with 9 additions and 1 deletions

View File

@ -53,7 +53,8 @@ LLFloaterTestInspectors::~LLFloaterTestInspectors()
BOOL LLFloaterTestInspectors::postBuild()
{
getChild<LLUICtrl>("intentionally-not-found");
// Test the dummy widget construction code
getChild<LLUICtrl>("intentionally-not-found")->setEnabled(true);
// getChild<LLUICtrl>("avatar_2d_btn")->setCommitCallback(
// boost::bind(&LLFloaterTestInspectors::onClickAvatar2D, this));

View File

@ -193,6 +193,13 @@
function="ShowFloater"
parameter="test_widgets" />
</menu_item_call>
<menu_item_call
label="Inspectors Test"
name="Inspectors Test">
<menu_item_call.on_click
function="ShowFloater"
parameter="test_inspectors" />
</menu_item_call>
<menu_item_check
label="Reg In Client Test (restart)"
name="Reg In Client Test (restart)">