diff options
author | richard <none@none> | 2010-01-06 11:18:04 -0800 |
---|---|---|
committer | richard <none@none> | 2010-01-06 11:18:04 -0800 |
commit | 3b7080a6b112c492a9025ae1a350db0ab4e88e50 (patch) | |
tree | ace6c115385bcffb6dbea26d0ef31be3632a708a /indra/newview/llchathistory.cpp | |
parent | fd899d4ed6933d2bce10eef31ce0c99e1272afcb (diff) | |
parent | 1bbd259f2d009a807a09aea15d01d0872f8b1cad (diff) |
merge
Diffstat (limited to 'indra/newview/llchathistory.cpp')
-rw-r--r-- | indra/newview/llchathistory.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llchathistory.cpp b/indra/newview/llchathistory.cpp index 21cadda6e3..dac3280575 100644 --- a/indra/newview/llchathistory.cpp +++ b/indra/newview/llchathistory.cpp @@ -593,6 +593,12 @@ void LLChatHistory::appendMessage(const LLChat& chat, const bool use_plain_text_ mEditor->appendText(message, FALSE, style_params); } mEditor->blockUndo(); + + // automatically scroll to end when receiving chat from myself + if (chat.mFromID == gAgentID) + { + mEditor->setCursorAndScrollToEnd(); + } } void LLChatHistory::draw() |