From 93af7491ee7ba3ba47987fca46a427243522d2f3 Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Tue, 7 May 2019 01:07:48 -0400 Subject: [PATCH] Attempt at fixing beware's selection lost bug once and for all --- indra/llui/lltexteditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/llui/lltexteditor.cpp b/indra/llui/lltexteditor.cpp index 843fff605..33d710cb0 100644 --- a/indra/llui/lltexteditor.cpp +++ b/indra/llui/lltexteditor.cpp @@ -4627,7 +4627,7 @@ void LLTextEditor::appendAndHighlightTextImpl(const std::string& new_text, S32 h } endOfDoc(); } - else if( selection_start != selection_end ) + else if (was_selecting || selection_start != selection_end) { mSelectionStart = selection_start; mSelectionEnd = selection_end;