CHUI-180 FIXED (Started an ad hoc IM spams log with drawtext warning)

- Don't draw TextBase context if it's empty and in focus
Paul ProductEngine 2012-06-27 18:52:08 +03:00
parent e8ec428539
commit a7831406ab
1 changed files with 1 additions and 1 deletions

View File

@ -508,7 +508,7 @@ void LLTextBase::drawText()
{
return;
}
else if (text_len <= 0 && !mLabel.empty())
else if (text_len <= 0 && !mLabel.empty() && !hasFocus())
{
text_len = mLabel.length();
}