Fix text highlighting again

This commit is contained in:
Eduardo Bart
2013-01-22 18:29:18 -02:00
parent dabc7548fe
commit ca4caf7991
3 changed files with 4 additions and 3 deletions

View File

@@ -123,6 +123,7 @@ void UITextEdit::update(bool focusCursor)
return;
std::string text = getDisplayedText();
m_drawText = text;
int textLength = text.length();
// prevent glitches