diff options
Diffstat (limited to 'linden/indra/newview/llviewerkeyboard.cpp')
-rw-r--r-- | linden/indra/newview/llviewerkeyboard.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llviewerkeyboard.cpp b/linden/indra/newview/llviewerkeyboard.cpp index 15c8148..6dd7fb5 100644 --- a/linden/indra/newview/llviewerkeyboard.cpp +++ b/linden/indra/newview/llviewerkeyboard.cpp | |||
@@ -506,7 +506,7 @@ void start_chat( EKeystate s ) | |||
506 | void start_gesture( EKeystate s ) | 506 | void start_gesture( EKeystate s ) |
507 | { | 507 | { |
508 | if (KEYSTATE_UP == s && | 508 | if (KEYSTATE_UP == s && |
509 | !(gFocusMgr.getKeyboardFocus() && gFocusMgr.getKeyboardFocus()->acceptsTextInput())) | 509 | !(gFocusMgr.getKeyboardFocus() && dynamic_cast<LLUICtrl*>(gFocusMgr.getKeyboardFocus())->acceptsTextInput())) |
510 | { | 510 | { |
511 | if (gChatBar->getCurrentChat().empty()) | 511 | if (gChatBar->getCurrentChat().empty()) |
512 | { | 512 | { |