summaryrefslogtreecommitdiff
path: root/indra/llui/llchatentry.cpp
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2013-08-26 14:57:54 -0700
committerGraham Linden <graham@lindenlab.com>2013-08-26 14:57:54 -0700
commitc50f44e04ed4c14dd19b18421878cc0094cee9b2 (patch)
treebd7418ba39e5aeac26c31df3b5dd7d4e4b676e73 /indra/llui/llchatentry.cpp
parentbf55d287db305907b83909c09bc5842a5a7a709f (diff)
parent6e1138585bf745f73f0bb99ca62f77eeb273f1e4 (diff)
Merge viewer-release 3.6.5
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)