Attempt at fixing beware's selection lost bug once and for all

This commit is contained in:
Lirusaito
2019-05-07 01:07:48 -04:00
parent 2075d92369
commit 93af7491ee

View File

@@ -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;