Skip to content
Snippets Groups Projects
Commit 3c2c897c authored by Mnikolenko ProductEngine's avatar Mnikolenko ProductEngine
Browse files

CHUI-916 FIXED Clear mMisspellRanges if spell check is not needed.

parent 33d6f8a5
No related branches found
No related tags found
No related merge requests found
...@@ -652,6 +652,10 @@ void LLTextBase::drawText() ...@@ -652,6 +652,10 @@ void LLTextBase::drawText()
mSpellCheckEnd = end; mSpellCheckEnd = end;
} }
} }
else
{
mMisspellRanges.clear();
}
LLTextSegmentPtr cur_segment = *seg_iter; LLTextSegmentPtr cur_segment = *seg_iter;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment