diff --git a/indra/llui/lltextbase.cpp b/indra/llui/lltextbase.cpp index a17170b3a0..61bb4f8fc9 100644 --- a/indra/llui/lltextbase.cpp +++ b/indra/llui/lltextbase.cpp @@ -1112,6 +1112,9 @@ BOOL LLTextBase::handleMouseDown(S32 x, S32 y, MASK mask) line_start = it->mDocIndexStart; } line_end = it->mDocIndexEnd; + + // FIRE-29545: Backspace not working after triple-click selecting last line + line_end = llclamp(line_end, 0, getLength()); } if (line_start == -1)