phoneapp/phoneuicontrol/src/cphonestatecallsetup.cpp
changeset 78 baacf668fe89
parent 74 d1c62c765e48
--- a/phoneapp/phoneuicontrol/src/cphonestatecallsetup.cpp	Mon Oct 04 16:06:10 2010 +0300
+++ b/phoneapp/phoneuicontrol/src/cphonestatecallsetup.cpp	Fri Oct 15 12:58:46 2010 +0300
@@ -28,7 +28,6 @@
 #include "mphonestatemachine.h"
 #include "tphonecmdparamboolean.h"
 #include "tphonecmdparaminteger.h"
-#include "tphonecmdparamcallstatedata.h"
 #include "tphonecmdparamcallheaderdata.h"
 #include "tphonecmdparamglobalnote.h"
 #include "tphonecmdparamstring.h"
@@ -477,13 +476,14 @@
         iViewCommandHandle->ExecuteCommand(
                 EPhoneViewGetNumberFromEntry,
                 &stringParam );
-        iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveNumberEntry );
         iViewCommandHandle->ExecuteCommandL( EPhoneViewLaunchLogs, &stringParam );
         }    
     else
         {
         RemoveDialogsAndSendPhoneToBackgroundL();
         }
+    
+    iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveNumberEntry );
     EndUiUpdate();
     CleanupStack::PopAndDestroy( phoneNumber );
     iStateMachine->ChangeState( EPhoneStateIdle );