creator/engine/src/creator_calendar.cpp
changeset 28 4cc0d1a608c1
parent 27 271e901a9423
child 48 da3ec8478e66
--- a/creator/engine/src/creator_calendar.cpp	Fri May 14 16:10:39 2010 +0300
+++ b/creator/engine/src/creator_calendar.cpp	Tue Jun 01 14:40:54 2010 +0300
@@ -340,12 +340,14 @@
         return;
         }
     
+    const TDesC* showText = &KSavingText;
     TBool finished(EFalse);
     TBool retval(ETrue);
     switch(aUserData)
         {
         case ECreatorCalendarDelete:
             iEntriesToBeCreated = 1;
+            showText = &KDeletingText;
             finished = ETrue;
             break;
         case ECreatorCalendarStart:
@@ -406,7 +408,7 @@
         // add this command to command array
         iEngine->AppendToCommandArrayL(iCommand, NULL, iEntriesToBeCreated);
         // started exucuting commands
-        iEngine->ExecuteFirstCommandL( KSavingText );
+        iEngine->ExecuteFirstCommandL( *showText );
         }
     }