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
parent
e8ec428539
commit
a7831406ab
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue