Change-Id: Iba46f1e6b13be80991bfacf845b667443d750d39
Signed-off-by: Andrey Klimenko <and.klimenko@samsung.com>
m_ThreadId = id;
setMode(m_ThreadId.isValid() ? ConversationMode : NewMessageMode);
- m_pBody->clear();
- m_pBody->setMmsRecipFlag( getMsgEngine().getStorage().hasEmail(m_ThreadId));
+ if(m_pBody)
+ {
+ m_pBody->clear();
+ m_pBody->setMmsRecipFlag(getMsgEngine().getStorage().hasEmail(m_ThreadId));
+ }
if(m_pRecipPanel)
{
void Conversation::checkAndSetMsgType()
{
// Body:
+ if(!m_pBody)
+ return;
+
bool isMms = m_pBody->isMms();
// Recipients:
void Conversation::updateMsgInputPanel()
{
+ if(!m_pBody)
+ return;
+
if(m_pBody->isMms())
{
// Mms: