ui/commandhandlers/commoncommandhandlers/src/glxcommandhandlernewmedia.cpp
changeset 69 45459746d5e8
parent 62 36d93b4dc635
--- a/ui/commandhandlers/commoncommandhandlers/src/glxcommandhandlernewmedia.cpp	Mon Sep 20 12:39:08 2010 +0530
+++ b/ui/commandhandlers/commoncommandhandlers/src/glxcommandhandlernewmedia.cpp	Mon Sep 27 15:13:20 2010 +0530
@@ -72,7 +72,6 @@
     iNewMediaCreationError = KErrNone;
     if (ok == true)
         {
-        
         TPtrC16 newMediaItemTitleDes
                 = (reinterpret_cast<const TUint16*> (mediaTitle.utf16()));
         
@@ -86,6 +85,8 @@
         }
     else
         {
+        // Reset the flag so that next addmedia cmd can  be executed
+        iIsCmdActive = false;
         iNewMediaCreationError = KErrCancel;
         }