photosgallery/controllers/fetcher/src/glxfetcherdialog.cpp
changeset 1 9ba538e329bd
parent 0 4e91876724a2
child 2 7d9067c6fcb1
--- a/photosgallery/controllers/fetcher/src/glxfetcherdialog.cpp	Thu Dec 17 08:45:44 2009 +0200
+++ b/photosgallery/controllers/fetcher/src/glxfetcherdialog.cpp	Thu Jan 07 12:46:23 2010 +0200
@@ -213,12 +213,15 @@
                     {
                     iSelectedFiles.Reset();
                     retVal = EFalse;
+                    //if the corrupt file is selected then reset the flag to again enable
+                    //the selection.
+                    iFetcherContainer->SetFileAttached(EFalse);
                     } 
                 if (!retrieveUriValue)
                     {
                     retVal = EFalse;
                     }
-                if (iMultiSelectionEnabled)
+                if (iMultiSelectionEnabled && retVal)
                     {
                     iFetcherContainer->DoExecuteL(EGlxCmdEndMultipleMarking);    
                     }