TizenRefApp-7057 Message-app crashes after tap on contact name in conversation 23/86523/3
authorDenis Dolzhenko <d.dolzhenko@samsung.com>
Thu, 1 Sep 2016 15:45:28 +0000 (18:45 +0300)
committerDenis Dolzhenko <d.dolzhenko@samsung.com>
Fri, 2 Sep 2016 08:01:09 +0000 (11:01 +0300)
Change-Id: Ie4d4b3f1eac6d4cef37c2a7873226537aff959ab
Signed-off-by: Denis Dolzhenko <d.dolzhenko@samsung.com>
src/Conversation/Main/Controller/src/Conversation.cpp

index 26b8ab5..1a855f4 100644 (file)
@@ -195,7 +195,8 @@ void Conversation::recipientClickHandler(const std::string &address)
         }
         else if(m_Mode == ConversationMode)
         {
-            m_pRecipPanel->unselectMbeItem();
+            if(m_pRecipPanel)
+                m_pRecipPanel->unselectMbeItem();
             ContactViewer::launch(*contactAddress);
         }
     }