diff options
author | Graham Linden <graham@lindenlab.com> | 2013-08-26 14:31:53 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2013-08-26 14:31:53 -0700 |
commit | 6e410c31c4f84247586312fa7763a2eb3a8db9da (patch) | |
tree | 9540cc49b0c7aabd56869feaa9fbf48b34f12f2e /indra/llui/llchatentry.cpp | |
parent | 8675ed0491efee860ac1b2d1d5fe88d150768217 (diff) | |
parent | 6e1138585bf745f73f0bb99ca62f77eeb273f1e4 (diff) |
Merge the CHUIstorm 3.6.5
Diffstat (limited to 'indra/llui/llchatentry.cpp')
-rwxr-xr-x | indra/llui/llchatentry.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/indra/llui/llchatentry.cpp b/indra/llui/llchatentry.cpp index 6a1b48a08a..c04b70eb64 100755 --- a/indra/llui/llchatentry.cpp +++ b/indra/llui/llchatentry.cpp @@ -62,9 +62,9 @@ void LLChatEntry::draw() { if(mIsExpandable) { + reflow(); expandText(); } - LLTextEditor::draw(); } @@ -158,19 +158,21 @@ void LLChatEntry::onValueChange(S32 start, S32 end) resetLabel(); } -bool LLChatEntry::useLabel() +bool LLChatEntry::useLabel() const { return !getLength() && !mLabel.empty(); } void LLChatEntry::onFocusReceived() { - + LLUICtrl::onFocusReceived(); + updateAllowingLanguageInput(); } void LLChatEntry::onFocusLost() { - + LLTextEditor::focusLostHelper(); + LLUICtrl::onFocusLost(); } BOOL LLChatEntry::handleSpecialKey(const KEY key, const MASK mask) |