Workaround the chat bar no longer focusing because it is within a layout_stack

This commit is contained in:
Lirusaito
2013-02-27 15:35:38 -05:00
parent cef61db77f
commit 09c8be1673

View File

@@ -180,6 +180,8 @@ void LLFloaterChat::handleVisibilityChange(BOOL new_visibility)
if (new_visibility)
{
LLFloaterChatterBox::getInstance()->setFloaterFlashing(this, FALSE);
// Work around the chat bar no longer focusing from within the layout_stack
gFocusMgr.setKeyboardFocus(getChildView("Chat Editor"));
}
LLFloater::handleVisibilityChange(new_visibility);