emailuis/emailui/src/FreestyleEmailUiSettingsList.cpp
branchRCL_3
changeset 17 67369d1b217f
parent 12 4ce476e64c59
child 20 efd4f1afd43e
equal deleted inserted replaced
16:b5fbb9b25d57 17:67369d1b217f
  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.