summaryrefslogtreecommitdiff
path: root/indra/newview/llimfloatercontainer.cpp
diff options
context:
space:
mode:
authorAlexanderP ProductEngine <apaschenko@productengine.com>2012-09-21 17:52:03 +0300
committerAlexanderP ProductEngine <apaschenko@productengine.com>2012-09-21 17:52:03 +0300
commit073065d6520a3b438fce3c5c27ee51c6d86ee742 (patch)
tree508043f7064b909c32ad890b71050f4edf0738d2 /indra/newview/llimfloatercontainer.cpp
parentfcb010e835d9b894ba6d1012ac8e3a85c5ab3400 (diff)
CHUI-289 ADD. FIX (Newly added conversation is not selected in conversation list): Select item which was added from avatar picker
Diffstat (limited to 'indra/newview/llimfloatercontainer.cpp')
-rwxr-xr-xindra/newview/llimfloatercontainer.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llimfloatercontainer.cpp b/indra/newview/llimfloatercontainer.cpp
index 4e0fba9502..de1fd58661 100755
--- a/indra/newview/llimfloatercontainer.cpp
+++ b/indra/newview/llimfloatercontainer.cpp
@@ -700,7 +700,7 @@ void LLIMFloaterContainer::repositioningWidgets()
}
}
-void LLIMFloaterContainer::setConvItemSelect(LLUUID& session_id)
+void LLIMFloaterContainer::setConvItemSelect(const LLUUID& session_id)
{
LLFolderViewItem* widget = mConversationsWidgets[session_id];
if (widget && mSelectedSession != session_id)
@@ -763,6 +763,8 @@ void LLIMFloaterContainer::addConversationListItem(const LLUUID& uuid)
participant_view->addToFolder(widget);
current_participant_model++;
}
+
+ setConvItemSelect(uuid);
return;
}