diff options
| author | Monty Brandenberg <monty@lindenlab.com> | 2013-08-26 18:54:39 -0400 |
|---|---|---|
| committer | Monty Brandenberg <monty@lindenlab.com> | 2013-08-26 18:54:39 -0400 |
| commit | f00b6c713347155fbde7e4c68e9656d29c13c6fc (patch) | |
| tree | 757be382d012da06b2d730f07d06eed41091fb67 /indra/llui/llchatentry.cpp | |
| parent | a45806e17cc99961ab559f544f43691ccafa9bf2 (diff) | |
| parent | 6e1138585bf745f73f0bb99ca62f77eeb273f1e4 (diff) | |
Merge. Pull in viewer-release after SSA merge.
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) |
