Allow setting the label of a flyout button dynamically in code.

This commit is contained in:
Inusaito Sayori
2015-05-14 07:30:49 -04:00
parent 361d3542a4
commit a974ca096c
2 changed files with 5 additions and 0 deletions

View File

@@ -173,4 +173,8 @@ void LLFlyoutButton::setToggleState(BOOL state)
mToggleState = state;
}
void LLFlyoutButton::setLabel(const std::string& label)
{
mActionButton->setLabel(label);
}