diff options
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 | { |