diff options
| author | leyla_linden <none@none> | 2011-01-19 11:38:34 -0800 |
|---|---|---|
| committer | leyla_linden <none@none> | 2011-01-19 11:38:34 -0800 |
| commit | ca1c1eea78ff2ab83979a4308dd5a93ea0032fc8 (patch) | |
| tree | ffafba28cf0f0d2cc4e67fae7042e2a318fce1b1 /indra/llui/llcombobox.cpp | |
| parent | b5e67321c3fa1e60e0973547372a5425e9d82efc (diff) | |
SH-808 Selectively enable/disable features in edit tools
Diffstat (limited to 'indra/llui/llcombobox.cpp')
| -rw-r--r-- | indra/llui/llcombobox.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llui/llcombobox.cpp b/indra/llui/llcombobox.cpp index 8b6a73af56..701d1ff706 100644 --- a/indra/llui/llcombobox.cpp +++ b/indra/llui/llcombobox.cpp @@ -231,6 +231,10 @@ void LLComboBox::resetDirty() } } +bool LLComboBox::itemExists(const std::string& name) +{ + return mList->getItemByLabel(name); +} // add item "name" to menu LLScrollListItem* LLComboBox::add(const std::string& name, EAddPosition pos, BOOL enabled) |
