Merge remote-tracking branch 'lirusaito/master'
This commit is contained in:
@@ -179,13 +179,18 @@ void LLFloaterChat::handleVisibilityChange(BOOL new_visibility)
|
|||||||
if (new_visibility)
|
if (new_visibility)
|
||||||
{
|
{
|
||||||
LLFloaterChatterBox::getInstance()->setFloaterFlashing(this, FALSE);
|
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);
|
LLFloater::handleVisibilityChange(new_visibility);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// virtual
|
||||||
|
void LLFloaterChat::onFocusReceived()
|
||||||
|
{
|
||||||
|
gFocusMgr.setKeyboardFocus(getChildView("Chat Editor")); // Work around the chat bar no longer focusing from within the layout_stack
|
||||||
|
LLFloater::onFocusReceived();
|
||||||
|
}
|
||||||
|
|
||||||
void LLFloaterChat::setMinimized(BOOL minimized)
|
void LLFloaterChat::setMinimized(BOOL minimized)
|
||||||
{
|
{
|
||||||
LLFloater::setMinimized(minimized);
|
LLFloater::setMinimized(minimized);
|
||||||
|
|||||||
@@ -63,6 +63,7 @@ public:
|
|||||||
virtual void draw();
|
virtual void draw();
|
||||||
virtual BOOL postBuild();
|
virtual BOOL postBuild();
|
||||||
virtual void onClose(bool app_quitting);
|
virtual void onClose(bool app_quitting);
|
||||||
|
virtual void onFocusReceived();
|
||||||
virtual void handleVisibilityChange(BOOL cur_visibility);
|
virtual void handleVisibilityChange(BOOL cur_visibility);
|
||||||
virtual void setMinimized(BOOL);
|
virtual void setMinimized(BOOL);
|
||||||
void updateConsoleVisibility();
|
void updateConsoleVisibility();
|
||||||
|
|||||||
Reference in New Issue
Block a user