coreapplicationuis/Rfs/src/rfsHandler.cpp
changeset 56 11a052f4b02e
parent 21 c4cbaa4fb734
child 81 676b6116ca93
--- a/coreapplicationuis/Rfs/src/rfsHandler.cpp	Tue Jul 06 14:26:20 2010 +0300
+++ b/coreapplicationuis/Rfs/src/rfsHandler.cpp	Wed Aug 18 09:58:19 2010 +0300
@@ -191,8 +191,9 @@
           CHbDeviceMessageBoxSymbian* note = CHbDeviceMessageBoxSymbian::NewL(CHbDeviceMessageBoxSymbian::EInformation);
                 CleanupStack::PushL(note);
                 note->SetTextL(*prompt);
-                note->ShowL();
-                 CleanupStack::PopAndDestroy(note);
+                //could have used show() but it is aynchronous and execution proceeds before note is seen so have used synchronous API exec()
+                note->ExecL();
+                CleanupStack::PopAndDestroy(note);
                 CleanupStack::PopAndDestroy( prompt );