Allow flyout button items to have the label attribute

This commit is contained in:
Inusaito Sayori
2013-07-31 15:51:00 -04:00
parent 04c78a1d8a
commit f4dc82784f

View File

@@ -114,6 +114,7 @@ LLView* LLFlyoutButton::fromXML(LLXMLNodePtr node, LLView* parent, LLUICtrlFacto
if (child->hasName(LL_FLYOUT_BUTTON_ITEM_TAG))
{
std::string label(child->getTextContents());
child->getAttributeString("label", label);
std::string value(label);
child->getAttributeString("value", value);