apengine/apsettingshandlerui/src/ApSelPopupList.cpp
branchRCL_3
changeset 36 04408506c6e0
parent 8 2e6c4614c58e
child 55 fc7b30ed2058
--- a/apengine/apsettingshandlerui/src/ApSelPopupList.cpp	Tue May 25 13:08:02 2010 +0300
+++ b/apengine/apsettingshandlerui/src/ApSelPopupList.cpp	Wed Jun 09 10:07:12 2010 +0300
@@ -488,16 +488,14 @@
 
     iList->HandleItemAdditionL();
 
-    iList->View()->SetDisableRedraw( EFalse );
-    iList->HandleItemAdditionL();
-
     SetSelectedL();
     iPreferredUid = *iSelected;
     
     SetHighlighted();
 
+    iList->View()->SetDisableRedraw( EFalse );
+    
     SizeChanged();
-    DrawNow();
     
     CheckAndSetDataValidity();
     UpdateCbaL();
@@ -525,7 +523,8 @@
             i = count;
             }
         }
-    iList->SetCurrentItemIndexAndDraw( idx );
+    
+    iList->SetCurrentItemIndex( idx );
     SelectCurrentItemL();
     
     APSETUILOGGER_LEAVEFN( EListbox,"SelPopupList::SetSelectedL")