Skip to content
Snippets Groups Projects
Commit 0f620c10 authored by Vadim Savchuk's avatar Vadim Savchuk
Browse files

Fixed bug EXT-5695 (Tabbed IM window loses focus if close any tab by Ctrl+W)

Submitting on behalf of Paul Guslisty.

Reviewed by Mike: https://codereview.productengine.com/secondlife/r/66/

--HG--
branch : product-engine
parent ab23ae02
No related branches found
No related tags found
No related merge requests found
......@@ -352,6 +352,13 @@ BOOL LLMultiFloater::handleKeyHere(KEY key, MASK mask)
if (floater && floater->canClose() && floater->isCloseable())
{
floater->closeFloater();
// EXT-5695 (Tabbed IM window loses focus if close any tabs by Ctrl+W)
// bring back focus on tab container if there are any tab left
if(mTabContainer->getTabCount() > 0)
{
mTabContainer->setFocus(TRUE);
}
}
return TRUE;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment