equal
deleted
inserted
replaced
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 { |