summaryrefslogtreecommitdiff
path: root/indra/llui/llcheckboxctrl.h
diff options
context:
space:
mode:
authorRye <rye@alchemyviewer.org>2025-10-26 02:54:09 -0400
committerRye <rye@alchemyviewer.org>2025-10-27 04:59:16 -0400
commit9a049b660bf0295fd295ec9bff0340fca16a90b1 (patch)
tree06a170cfe2ca2b682d2d7c27d83f185a5fbaa503 /indra/llui/llcheckboxctrl.h
parent5964e02894f2d9387080fbd848f0db02abd06356 (diff)
Fix invalid cast warning from ubsan
Signed-off-by: Rye <rye@alchemyviewer.org>
Diffstat (limited to 'indra/llui/llcheckboxctrl.h')
-rw-r--r--indra/llui/llcheckboxctrl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llui/llcheckboxctrl.h b/indra/llui/llcheckboxctrl.h
index 4068741978..3507d3f34a 100644
--- a/indra/llui/llcheckboxctrl.h
+++ b/indra/llui/llcheckboxctrl.h
@@ -124,6 +124,11 @@ public:
virtual bool isDirty() const; // Returns true if the user has modified this control.
virtual void resetDirty(); // Clear dirty state
+ LLTextBox* getTextBox() // Provide direct access to label textbox control
+ {
+ return mLabel;
+ }
+
protected:
virtual std::string _getSearchText() const
{