equal
deleted
inserted
replaced
181 ListBoxControl()->ItemDrawer()->Flags() |
181 ListBoxControl()->ItemDrawer()->Flags() |
182 & CListItemDrawer::ESingleClickDisabledHighlight ) |
182 & CListItemDrawer::ESingleClickDisabledHighlight ) |
183 { |
183 { |
184 TKeyEvent event; |
184 TKeyEvent event; |
185 event.iCode = EKeyOK; |
185 event.iCode = EKeyOK; |
186 |
|
187 // restore highlight with simulated key event |
186 // restore highlight with simulated key event |
188 TRAP_IGNORE |
187 TKeyResponse response = |
189 ( |
188 ListBoxControl()->OfferKeyEventL( event, EEventKey ); |
190 TKeyResponse response = ListBoxControl()->OfferKeyEventL( event, EEventKey ); |
189 |
191 if ( response == EKeyWasConsumed ) |
190 if ( response == EKeyWasConsumed ) |
192 { |
191 { |
193 highLightEnabled = ETrue; |
192 highLightEnabled = ETrue; |
194 } |
193 } |
195 ); |
194 } |
196 } |
|
197 return highLightEnabled; |
195 return highLightEnabled; |
198 } |
196 } |
199 |
197 |
200 void CAknListBoxSettingPage::CreateIconAndAddToArrayL( |
198 void CAknListBoxSettingPage::CreateIconAndAddToArrayL( |
201 CArrayPtr<CGulIcon>*& aIconArray, |
199 CArrayPtr<CGulIcon>*& aIconArray, |