--- a/commonuis/CommonDialogs/src/CAknCommonDialogsRadioButtonSettingPage.cpp Mon Mar 15 12:41:34 2010 +0200
+++ b/commonuis/CommonDialogs/src/CAknCommonDialogsRadioButtonSettingPage.cpp Wed Mar 31 21:59:52 2010 +0300
@@ -130,7 +130,14 @@
}
case EKeyOK:
+ case EKeyEnter:
{
+ if ( ListBoxControl()->ItemDrawer()->Flags()
+ & CListItemDrawer::ESingleClickDisabledHighlight )
+ {
+ return CAknSettingPage::OfferKeyEventL( aKeyEvent, aType );
+ }
+
TInt focus( lb->CurrentItemIndex() );
TInt topIndex( lb->TopItemIndex() );
@@ -194,36 +201,8 @@
// -----------------------------------------------------------------------------
//
void CAknCommonDialogsRadioButtonSettingPage::ProcessCommandL(TInt aCommandId)
- {
- if(!IsEditable() && !(aCommandId == EAknSoftkeyBack || aCommandId == EAknSoftkeyCancel))
- {
- return;
- }
-
- HideMenu();
-
- // Respond to softkey events
- switch (aCommandId)
- {
- case EAknSoftkeyOk:
- case EAknSoftkeySelect:
- case EAknSoftkeyDone:
- {
- SelectCurrentItemL(); // has non-trivial implemenations in listbox type
- // controls to put the selection on the current item
- AttemptExitL(ETrue);
- break;
- }
- case EAknSoftkeyBack:
- case EAknSoftkeyCancel:
- AttemptExitL(EFalse);
- break;
- case EAknSoftkeyOptions:
- DisplayMenuL();
- break;
- default:
- break;
- }
+ {
+ CAknRadioButtonSettingPage::ProcessCommandL( aCommandId );
}
// -----------------------------------------------------------------------------
// CAknCommonDialogsRadioButtonSettingPage::NotifyDrivesChangedL