diff options
Diffstat (limited to 'linden/indra/llui/llcombobox.cpp')
-rw-r--r-- | linden/indra/llui/llcombobox.cpp | 21 |
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 | ||
251 | BOOL 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 | ||
262 | void 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 |
251 | void LLComboBox::add(const LLString& name, EAddPosition pos, BOOL enabled) | 272 | void LLComboBox::add(const LLString& name, EAddPosition pos, BOOL enabled) |
252 | { | 273 | { |