CHUI-620 FIXED Clear the highlight when auto-selecting new conversation or when text is entered into the message panel.

meow-7.2.2
Mnikolenko ProductEngine 2013-03-18 14:37:21 +02:00
parent c294c7c474
commit bc8ac5854f
3 changed files with 12 additions and 1 deletions

View File

@ -1418,7 +1418,7 @@ BOOL LLFloaterIMContainer::selectConversationPair(const LLUUID& session_id, bool
session_floater->setMinimized(is_minimized);
}
}
flashConversationItemWidget(session_id,false);
return handled;
}

View File

@ -420,6 +420,12 @@ BOOL LLFloaterIMNearbyChat::matchChatTypeTrigger(const std::string& in_str, std:
void LLFloaterIMNearbyChat::onChatBoxKeystroke()
{
LLFloaterIMContainer* im_box = LLFloaterIMContainer::findInstance();
if (im_box)
{
im_box->flashConversationItemWidget(mSessionID,false);
}
LLFirstUse::otherAvatarChatFirst(false);
LLWString raw_text = mInputEditor->getWText();

View File

@ -892,6 +892,11 @@ void LLFloaterIMSession::onInputEditorFocusLost(LLFocusableElement* caller, void
void LLFloaterIMSession::onInputEditorKeystroke(LLTextEditor* caller, void* userdata)
{
LLFloaterIMSession* self = (LLFloaterIMSession*)userdata;
LLFloaterIMContainer* im_box = LLFloaterIMContainer::findInstance();
if (im_box)
{
im_box->flashConversationItemWidget(self->mSessionID,false);
}
std::string text = self->mInputEditor->getText();
// Deleting all text counts as stopping typing.