From f4dc82784f8194bf44f3521f62379980e7e6da19 Mon Sep 17 00:00:00 2001 From: Inusaito Sayori Date: Wed, 31 Jul 2013 15:51:00 -0400 Subject: [PATCH] Allow flyout button items to have the label attribute --- indra/llui/llflyoutbutton.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/indra/llui/llflyoutbutton.cpp b/indra/llui/llflyoutbutton.cpp index db16d9ccb..b45cdda3b 100644 --- a/indra/llui/llflyoutbutton.cpp +++ b/indra/llui/llflyoutbutton.cpp @@ -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);