photosgallery/viewframework/commandhandlers/commandhandlerbase/src/glxmpxcommandcommandhandler.cpp
branchRCL_3
changeset 9 6b87b143d312
parent 2 7d9067c6fcb1
child 14 ce1c7ad1f18b
--- a/photosgallery/viewframework/commandhandlers/commandhandlerbase/src/glxmpxcommandcommandhandler.cpp	Tue Feb 02 10:12:14 2010 +0200
+++ b/photosgallery/viewframework/commandhandlers/commandhandlerbase/src/glxmpxcommandcommandhandler.cpp	Fri Feb 19 22:51:01 2010 +0200
@@ -138,8 +138,12 @@
             aList.CommandL(*command);
             
             // raise progress note. Note will be closed when complete message received
-            ProgressNoteL(aCommandId);
-            
+			// For EGlxCmdAddMedia we dont need to show dialog as EGlxCmdAddToAlbum or
+			// EGlxCmdAddTag will show processing dialog.
+            if (aCommandId != EGlxCmdAddMedia)
+                {
+                ProgressNoteL(aCommandId);
+                }
             CleanupStack::PopAndDestroy(command);
             }
         }
@@ -497,6 +501,7 @@
     // Close the progress note, if displayed
     if (iProgressDialog) 
         {
+        iProgressDialog->MakeVisible(EFalse);
     	iProgressDialog->ProcessFinishedL();
     	iProgressDialog = NULL;
     	iProgressInfo = NULL;