Fix Issue 590: Debug Settings parameters setting is seriously bugged
This commit is contained in:
@@ -352,7 +352,14 @@ void LLFloaterSettingsDebug::updateControl()
|
|||||||
bool_ctrl->setVisible(true);
|
bool_ctrl->setVisible(true);
|
||||||
if (!bool_ctrl->hasFocus())
|
if (!bool_ctrl->hasFocus())
|
||||||
{
|
{
|
||||||
bool_ctrl->setValue(sd.asInteger());
|
if (sd.asBoolean())
|
||||||
|
{
|
||||||
|
bool_ctrl->setValue(LLSD("TRUE"));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
bool_ctrl->setValue(LLSD("FALSE"));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case TYPE_STRING:
|
case TYPE_STRING:
|
||||||
|
|||||||
@@ -8,10 +8,10 @@
|
|||||||
name="comment_text" word_wrap="true" />
|
name="comment_text" word_wrap="true" />
|
||||||
<radio_group bottom_delta="-48" draw_border="false" follows="bottom|left|right" height="36"
|
<radio_group bottom_delta="-48" draw_border="false" follows="bottom|left|right" height="36"
|
||||||
left="15" name="boolean_combo" visible="false">
|
left="15" name="boolean_combo" visible="false">
|
||||||
<radio_item bottom="-18" height="15" name="TRUE" value="1">
|
<radio_item bottom="-18" height="15" name="TRUE" value="true">
|
||||||
True
|
True
|
||||||
</radio_item>
|
</radio_item>
|
||||||
<radio_item bottom="-36" height="15" name="FALSE" value="0">
|
<radio_item bottom="-36" height="15" name="FALSE" value="">
|
||||||
False
|
False
|
||||||
</radio_item>
|
</radio_item>
|
||||||
</radio_group>
|
</radio_group>
|
||||||
|
|||||||
Reference in New Issue
Block a user