uifw/AvKon/src/AknPhoneNumberEditor.cpp
branchRCL_3
changeset 4 8ca85d2f0db7
parent 0 2f259fa3e83a
child 51 fcdfafb36fe7
--- a/uifw/AvKon/src/AknPhoneNumberEditor.cpp	Tue Feb 02 01:00:49 2010 +0200
+++ b/uifw/AvKon/src/AknPhoneNumberEditor.cpp	Fri Feb 19 23:04:46 2010 +0200
@@ -1081,7 +1081,9 @@
     
     // check if the characters are allowed, if one character is not allowed, 
     // it will not be pasted into phone number editor
-	if ( fepState->CurrentInputMode() != EAknEditorTextInputMode )
+    CAknExtendedInputCapabilities * pCapabilities(iExtension->iExtendedInputCapabilities);
+	if ( fepState->CurrentInputMode() != EAknEditorTextInputMode && pCapabilities
+		&& pCapabilities->EditorType() != CAknExtendedInputCapabilities::EHybridAlphaNumericEditor )
 		{
 		TInt pos = 0;
 		TInt index = 0;
@@ -1294,5 +1296,17 @@
 	return edwinState->Flags();	
 	}
 
+// --------------------------------------------------------------------------
+// CAknPhoneNumberEditor::MakeVisible
+// --------------------------------------------------------------------------
+//
+void CAknPhoneNumberEditor::MakeVisible(TBool aVisible)
+	{
+	CCoeControl::MakeVisible(aVisible);
+	if ( !aVisible )
+		{
+	    CloseVKB();
+		}
+	}
 
 // End of file