equal
deleted
inserted
replaced
13 * |
13 * |
14 * Description: MPSettingsMainView.cpp* |
14 * Description: MPSettingsMainView.cpp* |
15 */ |
15 */ |
16 |
16 |
17 |
17 |
18 // Version : %version: 7 % |
18 // Version : %version: 8 % |
19 |
19 |
20 |
20 |
21 |
21 |
22 // INCLUDE FILES |
22 // INCLUDE FILES |
23 #include <avkon.hrh> |
23 #include <avkon.hrh> |
105 { |
105 { |
106 case EMPSettCmdOpen: |
106 case EMPSettCmdOpen: |
107 HandleListBoxSelectionL(); |
107 HandleListBoxSelectionL(); |
108 break; |
108 break; |
109 case EAknSoftkeyBack: |
109 case EAknSoftkeyBack: |
110 if (iGsPlugin) |
110 if ( iGsPlugin ) |
111 { |
111 { |
112 AppUi()->ActivateLocalViewL( KGSVideoPluginUid ); |
112 AppUi()->ActivateLocalViewL( KGSVideoPluginUid ); |
113 } |
113 } |
114 else |
114 else |
115 { |
115 { |
116 AppUi()->HandleCommandL(EEikCmdExit); |
116 AppUi()->HandleCommandL(EEikCmdExit); |
117 } |
117 } |
118 break; |
118 break; |
119 default: |
119 default: |
120 AppUi()->HandleCommandL(aCommand); |
120 AppUi()->HandleCommandL(aCommand); |
121 break; |
121 break; |
122 } |
122 } |
208 { |
208 { |
209 view = static_cast<CMPSettingsBaseView*>(AppUi()->View(iViewIds->At(i))); |
209 view = static_cast<CMPSettingsBaseView*>(AppUi()->View(iViewIds->At(i))); |
210 view->SetCurrentItem(KMPSettTopItemIndex); |
210 view->SetCurrentItem(KMPSettTopItemIndex); |
211 } |
211 } |
212 |
212 |
213 AppUi()->ActivateLocalViewL(iViewIds->At(iCurrentItem)); |
213 if ( iCurrentItem < count ) |
|
214 { |
|
215 AppUi()->ActivateLocalViewL(iViewIds->At(iCurrentItem)); |
|
216 } |
214 } |
217 } |
215 |
218 |
216 |
219 |
217 // End of File |
220 // End of File |
218 |
221 |