diff options
author | Cho <cho@lindenlab.com> | 2014-08-20 01:11:55 +0100 |
---|---|---|
committer | Cho <cho@lindenlab.com> | 2014-08-20 01:11:55 +0100 |
commit | d071aeb6f1ff0d98e27e93391f004d6ff947e3b1 (patch) | |
tree | faa6d458733c4f6288974ab370d7f480ed73a17c /indra/llui/llchatentry.cpp | |
parent | 89eac2548a9b66d8bab27a7e8d7d1ed2159e9515 (diff) | |
parent | d576e66210c020a8a86bcc88898a352bc0875d9a (diff) |
merge
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) |