--- 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;
}