FIRE-15334: Pressing <Return> in chat bar when text is selected can result in text being deleted before send

Ansariel 2015-01-06 10:04:52 +01:00
parent a30090071c
commit 2c6af0629c
1 changed files with 5 additions and 2 deletions

View File

@ -190,8 +190,11 @@ BOOL LLChatEntry::handleSpecialKey(const KEY key, const MASK mask)
if (key == KEY_RETURN)
{
endOfDoc();
startSelection();
endSelection();
// <FS:Ansariel> FIRE-15334: Properly deselect
//startSelection();
//endSelection();
deselect();
// </FS:Ansariel>
}
LLTextEditor::handleSpecialKey(key, mask);