[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE_3_2_BRANCH: kdepim/kmail
From:       Ingo Klöcker <kloecker () kde ! org>
Date:       2004-03-29 22:12:03
Message-ID: 20040329221203.B9FA09953 () office ! kde ! org
[Download RAW message or body]

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();
   }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic