diff options
author | Jacek Antonelli | 2008-08-15 23:45:07 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:07 -0500 |
commit | 8465910c79b8e746e04fd581cca2d60399e569b9 (patch) | |
tree | f43fec3e83c46e0d6190dca923d6fb268b52ffdd /linden/indra/llui/llcombobox.cpp | |
parent | Second Life viewer sources 1.18.2.1 (diff) | |
download | meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.zip meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.tar.gz meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.tar.bz2 meta-impy-8465910c79b8e746e04fd581cca2d60399e569b9.tar.xz |
Second Life viewer sources 1.18.3.2-RC
Diffstat (limited to '')
-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 | { |