Allow setting the label of a flyout button dynamically in code.
This commit is contained in:
@@ -173,4 +173,8 @@ void LLFlyoutButton::setToggleState(BOOL state)
|
||||
mToggleState = state;
|
||||
}
|
||||
|
||||
void LLFlyoutButton::setLabel(const std::string& label)
|
||||
{
|
||||
mActionButton->setLabel(label);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user