diff options
author | Matthew Breindel (Falcon) <falcon@lindenlab.com> | 2010-08-26 17:12:29 -0700 |
---|---|---|
committer | Matthew Breindel (Falcon) <falcon@lindenlab.com> | 2010-08-26 17:12:29 -0700 |
commit | fe7be11710a6a6cac924d4dbb6d9c890f8bc61a9 (patch) | |
tree | d0aa9582700a1ff9914e072f61d9e8ede367348a /indra/llui | |
parent | 4b9abaaab9448df7e0773cdbaf1a5202a1f9e6c7 (diff) | |
parent | 5a6a792920bb0dee35bcd711bd786d907bda556a (diff) |
Merge
Diffstat (limited to 'indra/llui')
-rw-r--r-- | indra/llui/lltextbase.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/llui/lltextbase.cpp b/indra/llui/lltextbase.cpp index 17e41d9e24..3ba9bd4d1b 100644 --- a/indra/llui/lltextbase.cpp +++ b/indra/llui/lltextbase.cpp @@ -1569,7 +1569,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()); } |