Skip to content
Snippets Groups Projects
Commit 0828d737 authored by Mnikolenko Productengine's avatar Mnikolenko Productengine
Browse files

SL-12396 FIXED Last line can't be removed if it was selected via triple-clicking

parent 9c3368bb
No related branches found
No related tags found
No related merge requests found
...@@ -1037,6 +1037,7 @@ BOOL LLTextBase::handleMouseDown(S32 x, S32 y, MASK mask) ...@@ -1037,6 +1037,7 @@ BOOL LLTextBase::handleMouseDown(S32 x, S32 y, MASK mask)
line_start = it->mDocIndexStart; line_start = it->mDocIndexStart;
} }
line_end = it->mDocIndexEnd; line_end = it->mDocIndexEnd;
line_end = llclamp(line_end, 0, getLength());
} }
if (line_start == -1) if (line_start == -1)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment