@ -1668,7 +1668,6 @@ void KMComposeWin::setMsg( const KMime::Message::Ptr &newMsg, bool mayAutoSign,
// honor "keep reply in this folder" setting even when the identity is changed later on
mPreventFccOverwrite = ( !kmailFcc.isEmpty() && ident.fcc() != kmailFcc );
autoSaveMessage( true ); //Force save message otherwise restore session will not work
}
void KMComposeWin::setAutoSaveFileName(const QString& fileName)
@ -1099,6 +1099,7 @@ void KMKernel::recoverDeadLetters()
KMail::Composer * autoSaveWin = KMail::makeComposer();
autoSaveWin->setMsg( autoSaveMessage, false );
autoSaveWin->setAutoSaveFileName( filename );
autoSaveWin->autoSaveMessage( true );//Force save message otherwise restore session will not work
autoSaveWin->show();
autoSaveFile.close();
} else {