diff options
author | Paul ProductEngine <pguslisty@productengine.com> | 2012-06-27 18:52:08 +0300 |
---|---|---|
committer | Paul ProductEngine <pguslisty@productengine.com> | 2012-06-27 18:52:08 +0300 |
commit | a7831406abfe87e9bd1da8091e008edcd65b402c (patch) | |
tree | 908ad6ac428bc19fd33903e33bc045c315bc26f4 /indra/llui/lltextbase.cpp | |
parent | e8ec428539d951bdd3a26623b1dc38c54a04753b (diff) |
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
Diffstat (limited to 'indra/llui/lltextbase.cpp')
-rw-r--r-- | indra/llui/lltextbase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/lltextbase.cpp b/indra/llui/lltextbase.cpp index c112a7e477..3b3bc64c5b 100644 --- a/indra/llui/lltextbase.cpp +++ b/indra/llui/lltextbase.cpp @@ -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(); } |