summaryrefslogtreecommitdiff
path: root/indra/llui/llchatentry.cpp
diff options
context:
space:
mode:
authorRichard Linden <none@none>2013-09-09 20:19:36 -0700
committerRichard Linden <none@none>2013-09-09 20:19:36 -0700
commitddd9d1396cd378cbcd332d26d8b6b7092716c1bc (patch)
tree767a40da9fdd2f3ae0c89b1d6cd5135884c4e8c9 /indra/llui/llchatentry.cpp
parent21ab67416d471a90b343052c986478c9dd65ae79 (diff)
parent52da9f5f49e0e300943abc3afa6944e6bee0cdd1 (diff)
merge
Diffstat (limited to 'indra/llui/llchatentry.cpp')
-rwxr-xr-xindra/llui/llchatentry.cpp10
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)