summaryrefslogtreecommitdiff
path: root/indra/llui/lltextbase.cpp
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2010-11-17 15:23:01 -0500
committerOz Linden <oz@lindenlab.com>2010-11-17 15:23:01 -0500
commit4ecf93fda2f2a30def5197b4f141b3abdbdc8b4e (patch)
treec11c51aed31c8372b5c59d4006337414b870cb92 /indra/llui/lltextbase.cpp
parentd0de833d947b219eabae01abbb5750ad05e5e305 (diff)
parent3b86582fb8fd809273d152197f72de2c59a29f24 (diff)
merge fix for STORM-563
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());
}