aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui/llcombobox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llui/llcombobox.cpp')
-rw-r--r--linden/indra/llui/llcombobox.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/linden/indra/llui/llcombobox.cpp b/linden/indra/llui/llcombobox.cpp
index 27df619..b71d88f 100644
--- a/linden/indra/llui/llcombobox.cpp
+++ b/linden/indra/llui/llcombobox.cpp
@@ -247,6 +247,27 @@ void LLComboBox::onCommit()
247 LLUICtrl::onCommit(); 247 LLUICtrl::onCommit();
248} 248}
249 249
250// virtual
251BOOL LLComboBox::isDirty() const
252{
253 BOOL grubby = FALSE;
254 if ( mList )
255 {
256 grubby = mList->isDirty();
257 }
258 return grubby;
259}
260
261// virtual Clear dirty state
262void LLComboBox::resetDirty()
263{
264 if ( mList )
265 {
266 mList->resetDirty();
267 }
268}
269
270
250// add item "name" to menu 271// add item "name" to menu
251void LLComboBox::add(const LLString& name, EAddPosition pos, BOOL enabled) 272void LLComboBox::add(const LLString& name, EAddPosition pos, BOOL enabled)
252{ 273{