summaryrefslogtreecommitdiff
path: root/indra/llui/lltexteditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llui/lltexteditor.cpp')
-rw-r--r--indra/llui/lltexteditor.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llui/lltexteditor.cpp b/indra/llui/lltexteditor.cpp
index 197f8d98cf..92b6cc8bb6 100644
--- a/indra/llui/lltexteditor.cpp
+++ b/indra/llui/lltexteditor.cpp
@@ -3384,7 +3384,9 @@ void LLTextEditor::endOfLine()
void LLTextEditor::endOfDoc()
{
- mScrollbar->setDocPos( mScrollbar->getDocPosMax() );
+ mScrollbar->setDocPos(mScrollbar->getDocPosMax());
+ mScrolledToBottom = true;
+
S32 len = getLength();
if( len )
{