Fix Issue 590: Debug Settings parameters setting is seriously bugged

This commit is contained in:
Lirusaito
2013-01-11 15:50:47 -05:00
parent 2dda9499fa
commit a47dbf88bb
2 changed files with 10 additions and 3 deletions

View File

@@ -352,7 +352,14 @@ void LLFloaterSettingsDebug::updateControl()
bool_ctrl->setVisible(true);
if (!bool_ctrl->hasFocus())
{
bool_ctrl->setValue(sd.asInteger());
if (sd.asBoolean())
{
bool_ctrl->setValue(LLSD("TRUE"));
}
else
{
bool_ctrl->setValue(LLSD("FALSE"));
}
}
break;
case TYPE_STRING: