emailuis/nmframeworkadapter/src/nmfwaaddattachmentsoperation.cpp
changeset 39 b0b89ca206b5
parent 38 b4618f2cf6ac
child 40 2c62ef3caffd
--- a/emailuis/nmframeworkadapter/src/nmfwaaddattachmentsoperation.cpp	Fri May 14 03:48:25 2010 +0300
+++ b/emailuis/nmframeworkadapter/src/nmfwaaddattachmentsoperation.cpp	Fri May 14 04:17:40 2010 +0300
@@ -60,7 +60,7 @@
 }
 
 /*!
-    Called after base object construction via timer event, runs the
+    Called after base object construction, runs the
     async operation.
     
     \sa NmOperation
@@ -109,7 +109,10 @@
         HBufC *fileName = NmConverter::qstringToHBufCLC(mFileList.first());
         mRequestId = mFSMessage->AddNewAttachmentL(*fileName, *this);
         CleanupStack::PopAndDestroy(fileName);   
+    } else {
+        completeOperation(NmNoError);
     }
+        
 }
 
 /*!