emailuis/emailui/src/FreestyleEmailUiAttachmentsListModel.cpp
changeset 3 a4d6f1ea0416
parent 0 8466d47a6819
child 8 e1b6206813b4
--- a/emailuis/emailui/src/FreestyleEmailUiAttachmentsListModel.cpp	Mon Jan 18 20:08:26 2010 +0200
+++ b/emailuis/emailui/src/FreestyleEmailUiAttachmentsListModel.cpp	Tue Jan 26 11:45:42 2010 +0200
@@ -495,7 +495,13 @@
 			KFsTreeNoneID,
 			partData
 			};
-		attachment.downloadProgress = KComplete;
+		
+		// if not fully fetched than restart download;
+		if (IsCompletelyDownloadedL(attachment))
+			attachment.downloadProgress = KComplete;
+		else
+			attachment.downloadProgress = KNone;
+		
 		iAttachments.Append( attachment );
 		}
 	CleanupStack::PopAndDestroy( &mailParts );