phoneapp/phoneuicontrol/src/cphonestateincall.cpp
branchCompilerCompatibility
changeset 13 2411cd0e2ad6
parent 9 8871b09be73b
child 14 24062c24fe38
--- a/phoneapp/phoneuicontrol/src/cphonestateincall.cpp	Mon Mar 08 21:43:24 2010 +0000
+++ b/phoneapp/phoneuicontrol/src/cphonestateincall.cpp	Sun Mar 14 13:09:36 2010 +0000
@@ -51,6 +51,8 @@
 #include "cphonemediatorsender.h"
 #include "cphoneterminateallconnectionscommand.h"
 #include "mphonecustomization.h"
+#include "easydialingcommands.hrh"
+
 
 // ================= MEMBER FUNCTIONS =======================
 
@@ -146,7 +148,15 @@
                 }
             else if ( IsNumberEntryVisibleL() )
                 {
-                HandleCommandL( EPhoneCmdOptions );
+                if ( IsDialingExtensionInFocusL() )
+                    {
+                    iViewCommandHandle->HandleCommandL(
+                                       EEasyDialingEnterKeyAction );
+                    }
+                else
+                    {
+                    HandleCommandL( EPhoneCmdOptions );
+                    }
                 }
             break;
 #endif            
@@ -762,7 +772,7 @@
 
         case EPhoneCmdEnd:
             CloseDtmfQueryL();
-            CPhoneState::DisconnectCallL();
+            DisconnectCallL();
             break;
             
         // 'End all calls' from menu