Do not set the message as complete but do not pass it to the parent command.

That way the message is not changed and it should not cause problems anymore.
Will backport.
BUGS:98845

svn path=/trunk/kdepim/; revision=406156
wilder-work
Carsten Burghardt 21 years ago
parent 58176a6dc4
commit 58fad94852
  1. 5
      kmcommands.cpp

@ -2111,11 +2111,8 @@ KMSaveAttachmentsCommand::KMSaveAttachmentsCommand( QWidget *parent, const QPtrL
KMSaveAttachmentsCommand::KMSaveAttachmentsCommand( QWidget *parent, QPtrList<partNode>& attachments,
KMMessage *msg, bool encoded )
: KMCommand( parent, msg ), mImplicitAttachments( false ),
mEncoded( encoded )
: KMCommand( parent ), mImplicitAttachments( false ), mEncoded( encoded )
{
// do not load the complete message but only parts
msg->setComplete( true );
for ( QPtrListIterator<partNode> it( attachments ); it.current(); ++it ) {
mAttachmentMap.insert( it.current(), msg );
}

Loading…
Cancel
Save