From 6f74c8f238efec192e793fac042c63fd15b54708 Mon Sep 17 00:00:00 2001 From: Denis Dolzhenko Date: Thu, 10 Nov 2016 14:20:31 +0200 Subject: [PATCH] Fixed crash during edit draft message Change-Id: Ibd8926b6e93d0a2a185c8a68efc8721bc79b271a Signed-off-by: Denis Dolzhenko --- src/Conversation/ConvList/Controller/src/ConvList.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Conversation/ConvList/Controller/src/ConvList.cpp b/src/Conversation/ConvList/Controller/src/ConvList.cpp index f5669d5..81a72a4 100644 --- a/src/Conversation/ConvList/Controller/src/ConvList.cpp +++ b/src/Conversation/ConvList/Controller/src/ConvList.cpp @@ -482,7 +482,10 @@ void ConvList::onSaveAttachments(ConvListItem &item) void ConvList::onEditDraftMsg(ConvListItem &item) { if(m_pListener) + { + item.disabled(true); m_pListener->onEditDraftMsg(item.getMsgId()); + } } void ConvList::onContactChanged() -- 2.7.4