diff -r 271e901a9423 -r 4cc0d1a608c1 creator/engine/src/creator_log.cpp --- a/creator/engine/src/creator_log.cpp Fri May 14 16:10:39 2010 +0300 +++ b/creator/engine/src/creator_log.cpp Tue Jun 01 14:40:54 2010 +0300 @@ -69,6 +69,7 @@ CCreatorLogs::CCreatorLogs() : CActive(0) { + iEntriesToBeCreated = 1; } void CCreatorLogs::ConstructL(CCreatorEngine* aEngine) @@ -115,11 +116,13 @@ return; } + const TDesC* showText = &KSavingText; TBool finished(EFalse); TBool retval(ETrue); switch(aUserData) { case ECreatorLogsDelete: + showText = &KDeletingText; iEntriesToBeCreated = 1; finished = ETrue; break; @@ -140,7 +143,7 @@ // add this command to command array iEngine->AppendToCommandArrayL(iCommand, NULL, iEntriesToBeCreated); // started exucuting commands - iEngine->ExecuteFirstCommandL( KSavingText ); + iEngine->ExecuteFirstCommandL( *showText ); } }