diff options
| author | Oz Linden <oz@lindenlab.com> | 2013-03-13 15:49:24 -0400 | 
|---|---|---|
| committer | Oz Linden <oz@lindenlab.com> | 2013-03-13 15:49:24 -0400 | 
| commit | e7639b614d5cce196f82c8bb2fb801b31471f28c (patch) | |
| tree | 94b564c66c192efb85004e68409a91747d0bc572 /indra/llui/llchatentry.cpp | |
| parent | 55b2383f51ffabf7e95595df5d576f383d458ee1 (diff) | |
| parent | 680bea66dc2e7b08b71038be2261f9aad91f5658 (diff) | |
merge changes for DRTVWR-302
Diffstat (limited to 'indra/llui/llchatentry.cpp')
| -rw-r--r-- | indra/llui/llchatentry.cpp | 9 | 
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/llui/llchatentry.cpp b/indra/llui/llchatentry.cpp index 8e9c6555c3..9e48dcde7e 100644 --- a/indra/llui/llchatentry.cpp +++ b/indra/llui/llchatentry.cpp @@ -169,6 +169,15 @@ BOOL LLChatEntry::handleSpecialKey(const KEY key, const MASK mask)  {  	BOOL handled = FALSE; +    // In the case of a chat entry, pressing RETURN when something is selected +    // should NOT erase the selection (unlike a notecard, for example) +    if (key == KEY_RETURN) +    { +        endOfDoc(); +        startSelection(); +        endSelection(); +    } +  	LLTextEditor::handleSpecialKey(key, mask);  	switch(key)  | 
