CHUI-834 (Conversation selection in conversation list does not update when redocking torn off conversations): Now when click to dock a torn off floater, the correct conversation line item will be selected.

meow-7.2.2
Gilbert Gonzales 2013-03-06 17:43:10 -08:00
parent 6953be640f
commit d73ca40667
1 changed files with 6 additions and 0 deletions

View File

@ -798,6 +798,12 @@ void LLFloaterIMSessionTab::onTearOffClicked()
{
forceReshape();
}
//Upon re-docking the torn off floater, select the corresponding conversation line item
else
{
LLFloaterIMContainer* container = LLFloaterReg::findTypedInstance<LLFloaterIMContainer>("im_container");
container->selectConversation(mSessionID);
}
refreshConversation();
updateGearBtn();
}