emailuis/emailui/src/FreestyleEmailUiSettingsList.cpp
branchRCL_3
changeset 37 c3c9c6dcfb80
parent 33 da5135c61bad
child 52 efd4f1afd43e
equal deleted inserted replaced
36:e8f259fad141 37:c3c9c6dcfb80
  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.