equal
deleted
inserted
replaced
1803 // Removes the focus. |
1803 // Removes the focus. |
1804 // --------------------------------------------------------------------------- |
1804 // --------------------------------------------------------------------------- |
1805 // |
1805 // |
1806 void CFsEmailSettingsList::ClearFocus() |
1806 void CFsEmailSettingsList::ClearFocus() |
1807 { |
1807 { |
1808 // This is not a nice way to clear the focus but unless some one comes |
|
1809 // with a better solution, this will have to do. |
|
1810 iListBox->ItemDrawer()->SetFlags( CListItemDrawer::EDisableHighlight ); |
1808 iListBox->ItemDrawer()->SetFlags( CListItemDrawer::EDisableHighlight ); |
1811 iListBox->View()->Draw(); |
1809 iListBox->ClearSelection(); |
|
1810 iListBox->DrawNow(); |
1812 iListBox->ItemDrawer()->ClearFlags( CListItemDrawer::EDisableHighlight ); |
1811 iListBox->ItemDrawer()->ClearFlags( CListItemDrawer::EDisableHighlight ); |
1813 } |
1812 } |
1814 |
1813 |
1815 |
1814 |
1816 // End of file. |
1815 // End of file. |