diff options
author | Gilbert Gonzales <gilbert@lindenlab.com> | 2012-10-25 11:43:18 -0700 |
---|---|---|
committer | Gilbert Gonzales <gilbert@lindenlab.com> | 2012-10-25 11:43:18 -0700 |
commit | 63548b973e6de392f2bf209b3405b1dde78bda03 (patch) | |
tree | 2d8b97e395f5bb39a4b4e83108e8af319b77b9b7 /indra/newview/llconversationview.cpp | |
parent | b77e2f17aa9755120032ee977d34e9e923cba0be (diff) |
CHUI-449: Got rid of a function called setItemSelect(), I wrote this code and it doesn't have a purpose anymore since I can use setConvItemSelect() instead. Also now torn off, minimized conversations are selected when clicking a toast for that conversation. Resolution: Adjusted setConvItemSelect() to be less strict when trying to select an item, now as long as the function is called it will attempt to select the conversation line item.
Diffstat (limited to 'indra/newview/llconversationview.cpp')
-rwxr-xr-x | indra/newview/llconversationview.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/indra/newview/llconversationview.cpp b/indra/newview/llconversationview.cpp index 92493194b8..de0c65e24f 100755 --- a/indra/newview/llconversationview.cpp +++ b/indra/newview/llconversationview.cpp @@ -448,11 +448,9 @@ void LLConversationViewParticipant::selectItem() // Store the active session container->setSelectedSession(vmi->getUUID()); } - //Focus the current conversation floater (it is already visible so just focus it) - else - { - session_floater->setFocus(TRUE); - } + + //Redirect focus to the conversation floater + session_floater->setFocus(TRUE); } LLFolderViewItem::selectItem(); |