equal
deleted
inserted
replaced
517 // --------------------------------------------------------------------------- |
517 // --------------------------------------------------------------------------- |
518 // |
518 // |
519 void CFsEmailSettingsList::HandleUserSelectionsL() |
519 void CFsEmailSettingsList::HandleUserSelectionsL() |
520 { |
520 { |
521 FUNC_LOG; |
521 FUNC_LOG; |
|
522 |
|
523 iView.HideStylusPopUpMenu(); |
522 |
524 |
523 TInt index = iListBox->CurrentItemIndex(); |
525 TInt index = iListBox->CurrentItemIndex(); |
524 TInt count = Count(); |
526 TInt count = Count(); |
525 |
527 |
526 // If we are at the main level |
528 // If we are at the main level |
1802 // CFsEmailSettingsList::ClearFocus() |
1804 // CFsEmailSettingsList::ClearFocus() |
1803 // Removes the focus. |
1805 // Removes the focus. |
1804 // --------------------------------------------------------------------------- |
1806 // --------------------------------------------------------------------------- |
1805 // |
1807 // |
1806 void CFsEmailSettingsList::ClearFocus() |
1808 void CFsEmailSettingsList::ClearFocus() |
1807 { |
1809 { |
1808 iListBox->ItemDrawer()->SetFlags( CListItemDrawer::EDisableHighlight ); |
1810 FUNC_LOG; |
1809 iListBox->ClearSelection(); |
1811 iListBox->ItemDrawer()->ClearFlags( CListItemDrawer::EPressedDownState ); |
1810 iListBox->DrawNow(); |
1812 iListBox->ItemDrawer()->SetFlags( CListItemDrawer::ESingleClickDisabledHighlight |
1811 iListBox->ItemDrawer()->ClearFlags( CListItemDrawer::EDisableHighlight ); |
1813 | CListItemDrawer::ESingleClickEnabled ); |
1812 } |
1814 TInt ci( iListBox->CurrentItemIndex() ); |
|
1815 if ( KErrNotFound != ci ) |
|
1816 { |
|
1817 iListBox->DrawItem( ci ); |
|
1818 } |
|
1819 } |
1813 |
1820 |
1814 |
1821 |
1815 // End of file. |
1822 // End of file. |