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

merge

--HG--
branch : product-engine
parents abb23ff3 e2ec9459
No related branches found
No related tags found
No related merge requests found
......@@ -352,9 +352,6 @@ LLIMFloater* LLIMFloater::show(const LLUUID& session_id)
LLIMFloater* floater = LLFloaterReg::showTypedInstance<LLIMFloater>("impanel", session_id);
floater->updateMessages();
floater->mInputEditor->setFocus(TRUE);
if(isChatMultiTab())
{
// do not add existed floaters to avoid adding torn off instances
......@@ -434,6 +431,13 @@ void LLIMFloater::setVisible(BOOL visible)
{
channel->updateShowToastsState();
}
if (visible && mChatHistory && mInputEditor)
{
//only if floater was construced and initialized from xml
updateMessages();
mInputEditor->setFocus(TRUE);
}
}
//static
......
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