diff options
| author | Oz Linden <oz@lindenlab.com> | 2014-07-21 14:48:30 -0400 |
|---|---|---|
| committer | Oz Linden <oz@lindenlab.com> | 2014-07-21 14:48:30 -0400 |
| commit | df3e6b40fd80a139e745106231bc5c752271beea (patch) | |
| tree | c52227a2428060c5f3ffd7a1f97725c45adedb3a /indra/llui/llchatentry.cpp | |
| parent | 8192a3c5b2addd63e1d5c12269eec7e6de2adde0 (diff) | |
| parent | 532433674c9553636af9ea8d433b9da6d6fae587 (diff) | |
merge changes for 3.7.12-release
Diffstat (limited to 'indra/llui/llchatentry.cpp')
| -rwxr-xr-x | indra/llui/llchatentry.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/indra/llui/llchatentry.cpp b/indra/llui/llchatentry.cpp index c04b70eb64..dac001afab 100755 --- a/indra/llui/llchatentry.cpp +++ b/indra/llui/llchatentry.cpp @@ -51,6 +51,7 @@ LLChatEntry::LLChatEntry(const Params& p) mCurrentHistoryLine = mLineHistory.begin(); mAutoIndent = false; + keepSelectionOnReturn(true); } LLChatEntry::~LLChatEntry() @@ -179,15 +180,6 @@ 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) |
