FIRE-15334: Pressing <Return> in chat bar when text is selected can result in text being deleted before send
parent
a30090071c
commit
2c6af0629c
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue