diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llui/llcombobox.cpp | 5 | ||||
-rw-r--r-- | linden/indra/llui/llcombobox.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/linden/indra/llui/llcombobox.cpp b/linden/indra/llui/llcombobox.cpp index a93dc9b..fd3bb80 100644 --- a/linden/indra/llui/llcombobox.cpp +++ b/linden/indra/llui/llcombobox.cpp | |||
@@ -1331,3 +1331,8 @@ void LLFlyoutButton::setToggleState(BOOL state) | |||
1331 | mToggleState = state; | 1331 | mToggleState = state; |
1332 | } | 1332 | } |
1333 | 1333 | ||
1334 | void LLFlyoutButton::setLabel(const LLStringExplicit& name) | ||
1335 | { | ||
1336 | mActionButton->setLabel(name); | ||
1337 | } | ||
1338 | |||
diff --git a/linden/indra/llui/llcombobox.h b/linden/indra/llui/llcombobox.h index 596f659..18e4379 100644 --- a/linden/indra/llui/llcombobox.h +++ b/linden/indra/llui/llcombobox.h | |||
@@ -224,6 +224,8 @@ public: | |||
224 | static void onActionButtonClick(void *userdata); | 224 | static void onActionButtonClick(void *userdata); |
225 | static void onSelectAction(LLUICtrl* ctrl, void *userdata); | 225 | static void onSelectAction(LLUICtrl* ctrl, void *userdata); |
226 | 226 | ||
227 | void setLabel(const LLStringExplicit& name); | ||
228 | |||
227 | protected: | 229 | protected: |
228 | LLButton* mActionButton; | 230 | LLButton* mActionButton; |
229 | LLPointer<LLUIImage> mActionButtonImage; | 231 | LLPointer<LLUIImage> mActionButtonImage; |