From kde-commits Mon Mar 29 22:12:03 2004 From: =?utf-8?q?Ingo=20Kl=C3=B6cker?= Date: Mon, 29 Mar 2004 22:12:03 +0000 To: kde-commits Subject: KDE_3_2_BRANCH: kdepim/kmail Message-Id: <20040329221203.B9FA09953 () office ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=108059833120547 CVS commit by kloecker: Backport: Ensure that a message is correctly and fully parsed if it is re-added to a folder after editting the message is aborted. M +2 -0 kmcomposewin.cpp 1.770.2.5 --- kdepim/kmail/kmcomposewin.cpp #1.770.2.4:1.770.2.5 @@ -300,4 +300,6 @@ KMComposeWin::~KMComposeWin() mAutoDeleteMsg = FALSE; mFolder->addMsg(mMsg); + // Ensure that the message is correctly and fully parsed + mFolder->unGetMsg( mFolder->count() - 1 ); emit messageQueuedOrDrafted(); }