diff options
author | McCabe Maxsted | 2010-01-14 08:30:39 -0700 |
---|---|---|
committer | McCabe Maxsted | 2010-01-14 08:30:39 -0700 |
commit | 7974da7e8a15b2708d6a21883557fb82f69701b8 (patch) | |
tree | f43d0bb22a1094b84c627d5bf4d7e2bbc07b3d8d /linden/indra | |
parent | Applied patch for VWR-11172 by Alissa Sabre: A source coding mistake prevents... (diff) | |
download | meta-impy-7974da7e8a15b2708d6a21883557fb82f69701b8.zip meta-impy-7974da7e8a15b2708d6a21883557fb82f69701b8.tar.gz meta-impy-7974da7e8a15b2708d6a21883557fb82f69701b8.tar.bz2 meta-impy-7974da7e8a15b2708d6a21883557fb82f69701b8.tar.xz |
Applied patch for VWR-14267 by Aimee Trescothick: Clicking send in an IM window does not add the sent text to the line editor history
Diffstat (limited to 'linden/indra')
-rw-r--r-- | linden/indra/newview/llimpanel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linden/indra/newview/llimpanel.cpp b/linden/indra/newview/llimpanel.cpp index 5088343..243ef49 100644 --- a/linden/indra/newview/llimpanel.cpp +++ b/linden/indra/newview/llimpanel.cpp | |||
@@ -2105,6 +2105,8 @@ void LLFloaterIMPanel::sendMsg() | |||
2105 | LLWString text = mInputEditor->getConvertedText(); | 2105 | LLWString text = mInputEditor->getConvertedText(); |
2106 | if(!text.empty()) | 2106 | if(!text.empty()) |
2107 | { | 2107 | { |
2108 | // store sent line in history, duplicates will get filtered | ||
2109 | if (mInputEditor) mInputEditor->updateHistory(); | ||
2108 | // Truncate and convert to UTF8 for transport | 2110 | // Truncate and convert to UTF8 for transport |
2109 | std::string utf8_text = wstring_to_utf8str(text); | 2111 | std::string utf8_text = wstring_to_utf8str(text); |
2110 | utf8_text = utf8str_truncate(utf8_text, MAX_MSG_BUF_SIZE - 1); | 2112 | utf8_text = utf8str_truncate(utf8_text, MAX_MSG_BUF_SIZE - 1); |