Skip to content
Snippets Groups Projects
Commit bde86208 authored by Mnikolenko Productengine's avatar Mnikolenko Productengine
Browse files

MAINT-7002 Crash in LLConversationViewSession::handleMouseUp()

parent 26511f5b
Branches
Tags
No related merge requests found
...@@ -303,7 +303,7 @@ BOOL LLConversationViewSession::handleMouseUp( S32 x, S32 y, MASK mask ) ...@@ -303,7 +303,7 @@ BOOL LLConversationViewSession::handleMouseUp( S32 x, S32 y, MASK mask )
LLConversationItem* item = dynamic_cast<LLConversationItem *>(getViewModelItem()); LLConversationItem* item = dynamic_cast<LLConversationItem *>(getViewModelItem());
LLUUID session_id = item? item->getUUID() : LLUUID(); LLUUID session_id = item? item->getUUID() : LLUUID();
LLFloaterIMSessionTab* session_floater = LLFloaterIMSessionTab::findConversation(session_id); LLFloaterIMSessionTab* session_floater = LLFloaterIMSessionTab::findConversation(session_id);
if(!session_floater->hasFocus()) if(session_floater && !session_floater->hasFocus())
{ {
session_floater->setFocus(true); session_floater->setFocus(true);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment