summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorMaximB ProductEngine <mberezhnoy@productengine.com>2012-10-12 14:29:44 +0300
committerMaximB ProductEngine <mberezhnoy@productengine.com>2012-10-12 14:29:44 +0300
commit9aa03f0bf284bbfa3f50883351c6e39f7ffa41c5 (patch)
treed17d5c8c26eb1e4ab58028ae04a609b445ba29e3 /indra
parent0ff5a0c8ceebfab0d786aaf027c7c548170afe8d (diff)
CHUI-402 (Double-click on conversation participant should begin IM session)
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llimfloatercontainer.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llimfloatercontainer.cpp b/indra/newview/llimfloatercontainer.cpp
index 5f111b39d4..0f44d42780 100644
--- a/indra/newview/llimfloatercontainer.cpp
+++ b/indra/newview/llimfloatercontainer.cpp
@@ -142,6 +142,9 @@ BOOL LLIMFloaterContainer::postBuild()
mConversationsListPanel = getChild<LLPanel>("conversations_list_panel");
+ // Open IM session with selected participant on double click event
+ mConversationsListPanel->setDoubleClickCallback(boost::bind(&LLIMFloaterContainer::doToSelected, this, LLSD("im")));
+
// Create the root model and view for all conversation sessions
LLConversationItem* base_item = new LLConversationItem(getRootViewModel());