Warn more clearly about LLRadioGroup::setValue being used wrong, and attempt to recover with LLUICtrl::setValue.

This commit is contained in:
Lirusaito
2013-01-11 18:21:48 -05:00
parent a47dbf88bb
commit e51937cee7

View File

@@ -316,7 +316,8 @@ void LLRadioGroup::setValue( const LLSD& value )
} }
else else
{ {
llwarns << "LLRadioGroup::setValue: value not found: " << value_name << llendl; llwarns << "LLRadioGroup::setValue: radio_item with name=\"" << value_name << "\" not found, radio_group values are set by radio_item name not value. Falling back on LLUICtrl::setValue." << llendl;
LLUICtrl::setValue(value);
} }
} }
} }