diff options
author | Jacek Antonelli | 2008-08-15 23:45:04 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:04 -0500 |
commit | 117e22047c5752352342d64e3fb7ce00a4eb8113 (patch) | |
tree | e32de2cfba0dda8705ae528fcd1fbe23ba075685 /linden/indra/llui/llcheckboxctrl.cpp | |
parent | Second Life viewer sources 1.18.0.6 (diff) | |
download | meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.zip meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.gz meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.bz2 meta-impy-117e22047c5752352342d64e3fb7ce00a4eb8113.tar.xz |
Second Life viewer sources 1.18.1.2
Diffstat (limited to 'linden/indra/llui/llcheckboxctrl.cpp')
-rw-r--r-- | linden/indra/llui/llcheckboxctrl.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/linden/indra/llui/llcheckboxctrl.cpp b/linden/indra/llui/llcheckboxctrl.cpp index 5f3350e..24cf680 100644 --- a/linden/indra/llui/llcheckboxctrl.cpp +++ b/linden/indra/llui/llcheckboxctrl.cpp | |||
@@ -267,6 +267,18 @@ void LLCheckBoxCtrl::setControlName(const LLString& control_name, LLView* contex | |||
267 | mButton->setControlName(control_name, context); | 267 | mButton->setControlName(control_name, context); |
268 | } | 268 | } |
269 | 269 | ||
270 | |||
271 | // virtual Returns TRUE if the user has modified this control. | ||
272 | BOOL LLCheckBoxCtrl::isDirty() | ||
273 | { | ||
274 | if ( mButton ) | ||
275 | { | ||
276 | return mButton->isDirty(); | ||
277 | } | ||
278 | return FALSE; // Shouldn't get here | ||
279 | } | ||
280 | |||
281 | |||
270 | // virtual | 282 | // virtual |
271 | LLXMLNodePtr LLCheckBoxCtrl::getXML(bool save_children) const | 283 | LLXMLNodePtr LLCheckBoxCtrl::getXML(bool save_children) const |
272 | { | 284 | { |