--- a/uifw/AvKon/src/AknCheckBoxSettingPage.cpp Tue Apr 27 16:55:05 2010 +0300
+++ b/uifw/AvKon/src/AknCheckBoxSettingPage.cpp Tue May 11 16:27:42 2010 +0300
@@ -146,15 +146,21 @@
CreateCheckBoxBitmapsL();
+ // Only a reference to the CBase object; not owned
+ CAknSetStyleListBox* listBox = ListBoxControl();
+
+ //
+ // SelectItemL make the view item drawn by default, SetDisableRedraw can remove flick
+ //
+ TBool bRedrawDisabled = listBox->View()->RedrawDisabled();
+ listBox->View()->SetDisableRedraw( ETrue );
GenerateInternalArrayAndGiveToListBoxL();
+ listBox->View()->SetDisableRedraw( bRedrawDisabled );
// This updates the CBA
CheckAndSetDataValidity();
UpdateCbaL();
- // Only a reference to the CBase object; not owned
- CAknSetStyleListBox* listBox = ListBoxControl();
-
listBox->SetListBoxObserver(this);
// Set the scroller indication to appear when needed