terminalsecurity/SCP/SCPClient/src/SCPQueryDialog.cpp
branchRCL_3
changeset 21 490439ac0bd4
parent 19 696f5dd11939
child 24 13d7c31c74e0
equal deleted inserted replaced
19:696f5dd11939 21:490439ac0bd4
   410 	        }
   410 	        }
   411 	    }
   411 	    }
   412 		
   412 		
   413     if ( aKeyEvent.iCode == EKeyOK || aKeyEvent.iCode == EKeyEnter)
   413     if ( aKeyEvent.iCode == EKeyOK || aKeyEvent.iCode == EKeyEnter)
   414         {
   414         {
   415         // Try to exit with OK as well
   415     
   416         TryExitL(EAknSoftkeyOk);
   416             if(QueryControl()->GetTextLength() > 0) {
   417         return EKeyWasConsumed;
   417                 // Try to exit with OK as well
       
   418                 TryExitL(EAknSoftkeyOk);                
       
   419             }
       
   420             
       
   421             return EKeyWasConsumed;
   418         }
   422         }
   419 
   423 
   420 	// app key
   424 	// app key
   421 	if (aKeyEvent.iScanCode == EStdKeyApplication0)
   425 	if (aKeyEvent.iScanCode == EStdKeyApplication0)
   422 		{
   426 		{