summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2015-06-08 08:15:06 +0200
committerMontel Laurent <[email protected]>2015-06-08 08:15:06 +0200
commit60c71d1ff1cd05af3c16d373dc45692cb0a27290 (patch)
treea0225d9bf0486e2d557d647523da074d96e11df9
parentc84abce107ee47bd5e4707165e86bf14a6002a06 (diff)
Don't duplicate identity when we resend email/reedit message.
bug reported by David. CCMAIL: [email protected]
-rw-r--r--kmail/kmcommands.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kmail/kmcommands.cpp b/kmail/kmcommands.cpp
index 2947a19..0063fae 100644
--- a/kmail/kmcommands.cpp
+++ b/kmail/kmcommands.cpp
@@ -546,7 +546,7 @@ KMCommand::Result KMEditMessageCommand::execute()
bool lastEncrypt = false;
bool lastSign = false;
KMail::Util::lastEncryptAndSignState(lastEncrypt, lastSign, mMessage);
- win->setMessage( mMessage, lastSign, lastEncrypt, true, true );
+ win->setMessage( mMessage, lastSign, lastEncrypt, false, true );
win->show();
return OK;
}
@@ -587,7 +587,7 @@ KMCommand::Result KMEditItemCommand::execute()
bool lastEncrypt = false;
bool lastSign = false;
KMail::Util::lastEncryptAndSignState(lastEncrypt, lastSign, msg);
- win->setMessage( msg, lastSign, lastEncrypt, true, true );
+ win->setMessage( msg, lastSign, lastEncrypt, false, true );
win->setFolder( item.parentCollection() );
@@ -1584,7 +1584,7 @@ KMCommand::Result KMResendMessageCommand::execute()
bool lastEncrypt = false;
bool lastSign = false;
KMail::Util::lastEncryptAndSignState(lastEncrypt, lastSign, msg);
- win->setMessage( newMsg, lastSign, lastEncrypt, true, true );
+ win->setMessage( newMsg, lastSign, lastEncrypt, false, true );
win->show();