summaryrefslogtreecommitdiff
path: root/indra/llui/llchatentry.cpp
diff options
context:
space:
mode:
authormberezhnoy <mberezhnoy@productengine.com>2013-05-17 00:06:10 +0300
committermberezhnoy <mberezhnoy@productengine.com>2013-05-17 00:06:10 +0300
commitf159d1b053554d43aa19d6f38680a554f67d6e5c (patch)
tree558357dd5a77b30717d964dba857aeb9a1e015e3 /indra/llui/llchatentry.cpp
parent75f97d4ffe517d07e4b528de9e5f2d2c800510fb (diff)
parent73fa7a46b54941a3f7f7745e8ae037ba49a47969 (diff)
merge
Diffstat (limited to 'indra/llui/llchatentry.cpp')
-rw-r--r--indra/llui/llchatentry.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/indra/llui/llchatentry.cpp b/indra/llui/llchatentry.cpp
index f6c4b69308..416c3e65e4 100644
--- a/indra/llui/llchatentry.cpp
+++ b/indra/llui/llchatentry.cpp
@@ -163,6 +163,18 @@ bool LLChatEntry::useLabel()
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)
{
BOOL handled = FALSE;