diff options
author | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2013-04-12 20:27:28 +0300 |
---|---|---|
committer | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2013-04-12 20:27:28 +0300 |
commit | 3c2c897cac98e39dcc0447c2d7d458ba313a8cd6 (patch) | |
tree | 7ae3ab1164d745bbba335c4e9abcd71f0af414d4 /indra/llui | |
parent | 33d6f8a5953a6860bf1233d4a715f16a5b627cc0 (diff) |
CHUI-916 FIXED Clear mMisspellRanges if spell check is not needed.
Diffstat (limited to 'indra/llui')
-rw-r--r-- | indra/llui/lltextbase.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llui/lltextbase.cpp b/indra/llui/lltextbase.cpp index a815cfc176..def1277ba7 100644 --- a/indra/llui/lltextbase.cpp +++ b/indra/llui/lltextbase.cpp @@ -652,6 +652,10 @@ void LLTextBase::drawText() mSpellCheckEnd = end; } } + else + { + mMisspellRanges.clear(); + } LLTextSegmentPtr cur_segment = *seg_iter; |