CHUI-851 ([CHUIBUG]Focussing issue and unresponsive tabs when focus is brought back to the HUB): Now when pressing enter a docked nearby chat floater will be focused and the conversation line item will be selected. When the nearby chat is not docked then only the floater will be focused.
parent
ba757c18f8
commit
4146dc326f
|
|
@ -327,11 +327,8 @@ void LLFloaterIMNearbyChat::onChatFontChange(LLFontGL* fontp)
|
|||
|
||||
void LLFloaterIMNearbyChat::show()
|
||||
{
|
||||
if (isChatMultiTab())
|
||||
{
|
||||
openFloater(getKey());
|
||||
}
|
||||
}
|
||||
|
||||
bool LLFloaterIMNearbyChat::isChatVisible() const
|
||||
{
|
||||
|
|
@ -746,15 +743,14 @@ void LLFloaterIMNearbyChat::startChat(const char* line)
|
|||
{
|
||||
if(!nearby_chat->isTornOff())
|
||||
{
|
||||
nearby_chat->show();
|
||||
LLFloaterIMContainer::getInstance()->selectConversation(LLUUID(NULL));
|
||||
}
|
||||
if(nearby_chat->isMinimized())
|
||||
{
|
||||
nearby_chat->setMinimized(false);
|
||||
}
|
||||
nearby_chat->setVisible(TRUE);
|
||||
nearby_chat->show();
|
||||
nearby_chat->setFocus(TRUE);
|
||||
nearby_chat->mInputEditor->setFocus(TRUE);
|
||||
|
||||
if (line)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue