summaryrefslogtreecommitdiff
path: root/indra/llui/lltextbase.cpp
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2025-04-25 14:37:19 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2025-04-25 14:37:19 +0300
commitd9468ecc59f75363d9b57a9c1f7419cc3c42599b (patch)
tree0c8943bee29424a3ea69815c414ce0b3c6dc68f7 /indra/llui/lltextbase.cpp
parent17561e2ad13ec5c32e49f26e70b4ee291433db04 (diff)
#3758 disable editing of mention segment
Diffstat (limited to 'indra/llui/lltextbase.cpp')
-rw-r--r--indra/llui/lltextbase.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llui/lltextbase.cpp b/indra/llui/lltextbase.cpp
index 677dc63b25..c1b01f420b 100644
--- a/indra/llui/lltextbase.cpp
+++ b/indra/llui/lltextbase.cpp
@@ -3458,6 +3458,7 @@ LLNormalTextSegment::LLNormalTextSegment( LLStyleConstSP style, S32 start, S32 e
mLastGeneration(-1)
{
mFontHeight = mStyle->getFont()->getLineHeight();
+ mCanEdit = !mStyle->getDrawHighlightBg();
LLUIImagePtr image = mStyle->getImage();
if (image.notNull())