From aaf114296e50bfa93b831491738cd0a780085c3d Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 11 May 2016 11:12:12 +0200 Subject: Let the controller retrieve what it requires, remember the id of the draft to modfiy. --- framework/domain/actions/sinkactions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/domain/actions') diff --git a/framework/domain/actions/sinkactions.cpp b/framework/domain/actions/sinkactions.cpp index 354a5aca..129b538a 100644 --- a/framework/domain/actions/sinkactions.cpp +++ b/framework/domain/actions/sinkactions.cpp @@ -130,7 +130,7 @@ static ActionHandlerHelper saveAsDraft("org.kde.kube.actions.save-as-draft", return Sink::Store::create(mail); }); } else { - qWarning() << "Modifying an existing mail"; + qWarning() << "Modifying an existing mail" << existingMail.identifier(); existingMail.setBlobProperty("mimeMessage", message->encodedContent()); return Sink::Store::modify(existingMail); } -- cgit v1.2.3