diff options
author | Seth ProductEngine <slitovchuk@productengine.com> | 2011-02-25 23:19:18 +0200 |
---|---|---|
committer | Seth ProductEngine <slitovchuk@productengine.com> | 2011-02-25 23:19:18 +0200 |
commit | 1c3b95f5cc2c5e5bcf1f8b34a63ba8aa9d23ad81 (patch) | |
tree | 8a634b3f0c3cc6081fe42604428737e80a8f808c /indra/llui/llcombobox.h | |
parent | 9962560f57eb4bcf1b3451f5d86c963d5d6fcf5c (diff) |
STORM-1015 FIXED the ability to select an item from combo list if its name is not unique.
Updating combo box label upon list item selection does not search the item by label but takes the label of currently selected item instead.
Diffstat (limited to 'indra/llui/llcombobox.h')
-rw-r--r-- | indra/llui/llcombobox.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/llui/llcombobox.h b/indra/llui/llcombobox.h index 74d64269bd..e9ef9d07e4 100644 --- a/indra/llui/llcombobox.h +++ b/indra/llui/llcombobox.h @@ -148,6 +148,9 @@ public: // This is probably a UI abuse. void setLabel(const LLStringExplicit& name); + // Updates the combobox label to match the selected list item. + void updateLabel(); + BOOL remove(const std::string& name); // remove item "name", return TRUE if found and removed BOOL setCurrentByIndex( S32 index ); |