Fixed: save draft msg. 93/81193/4
authorDenis Dolzhenko <d.dolzhenko@samsung.com>
Fri, 22 Jul 2016 14:03:33 +0000 (17:03 +0300)
committerAndrey Klimenko <and.klimenko@samsung.com>
Mon, 25 Jul 2016 08:16:34 +0000 (01:16 -0700)
Change-Id: I83fee2325678d65dc1e58559236fdf9ca9c5d135
Signed-off-by: Denis Dolzhenko <d.dolzhenko@samsung.com>
src/Conversation/Main/Controller/inc/Conversation.h
src/Conversation/Main/Controller/src/Conversation.cpp

index b16fe96..d9f55bc 100644 (file)
@@ -125,7 +125,7 @@ namespace Msg
             void onEditItemPressed(PopupListItem &item);
             void onViewContactDetailsItemPressed(PopupListItem &item);
 
-            // ConvList callbacks:
+            // IConvListListener:
             virtual void onAllItemsDeleted(ConvList &list);
             virtual void onEditDraftMsg(MsgId id);
             virtual void onForwardMsg(MsgId id);
index a4a0c57..18f81d4 100644 (file)
@@ -546,6 +546,7 @@ void Conversation::editDraftMsg(MsgId id)
     if(msg)
     {
         saveDraftMsg(); // TODO: Check case if edit single(int ConvList) when Body not empty
+        m_pBody->clear();
         if(m_pConvList->getMessageCount() <= 1)
             setThreadId(ThreadId());