diff options
Diffstat (limited to 'indra/newview/llnearbychat.cpp')
-rw-r--r-- | indra/newview/llnearbychat.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/indra/newview/llnearbychat.cpp b/indra/newview/llnearbychat.cpp index a0ddc9b52b..a89ae4a2dc 100644 --- a/indra/newview/llnearbychat.cpp +++ b/indra/newview/llnearbychat.cpp @@ -274,23 +274,24 @@ void LLNearbyChat::removeScreenChat() void LLNearbyChat::setFocus(BOOL focusFlag) { LLTransientDockableFloater::setFocus(focusFlag); - + //Redirect focus to input editor if (focusFlag) { mInputEditor->setFocus(TRUE); } + } void LLNearbyChat::setVisible(BOOL visible) { - if(visible) - { - removeScreenChat(); - setFocus(TRUE); - } - LLIMConversation::setVisible(visible); + + if(visible) + { + removeScreenChat(); + } + setFocus(visible); } |