summaryrefslogtreecommitdiff
path: root/indra/llui/lltextbase.cpp
diff options
context:
space:
mode:
authorBryan O'Sullivan <bos@lindenlab.com>2010-11-17 13:25:32 -0800
committerBryan O'Sullivan <bos@lindenlab.com>2010-11-17 13:25:32 -0800
commit3a36ed079c0dec55efe9622d9ff86ae932ef9ed5 (patch)
treeb298908a2ac37250a4eb3bf3a550c6f3543f05c0 /indra/llui/lltextbase.cpp
parentcde71466ec4a2eb562d3316c3dafb38b8a7b0629 (diff)
parent669d10a4ee4c9cb2d6860126740f07b0ee90f29b (diff)
Merge with viewer-development
Diffstat (limited to 'indra/llui/lltextbase.cpp')
-rw-r--r--indra/llui/lltextbase.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/llui/lltextbase.cpp b/indra/llui/lltextbase.cpp
index 5721df6b36..3f213ed13e 100644
--- a/indra/llui/lltextbase.cpp
+++ b/indra/llui/lltextbase.cpp
@@ -1591,7 +1591,10 @@ void LLTextBase::setText(const LLStringExplicit &utf8str, const LLStyle::Params&
// appendText modifies mCursorPos...
appendText(text, false, input_params);
// ...so move cursor to top after appending text
- startOfDoc();
+ if (!mTrackEnd)
+ {
+ startOfDoc();
+ }
onValueChange(0, getLength());
}