apengine/apsettingshandlerui/src/ApSelPopupList.cpp
branchRCL_3
changeset 36 04408506c6e0
parent 8 2e6c4614c58e
child 55 fc7b30ed2058
equal deleted inserted replaced
26:0a9e01492035 36:04408506c6e0
   486         CleanupStack::PopAndDestroy(); // buf, as item has copied it...
   486         CleanupStack::PopAndDestroy(); // buf, as item has copied it...
   487         }
   487         }
   488 
   488 
   489     iList->HandleItemAdditionL();
   489     iList->HandleItemAdditionL();
   490 
   490 
   491     iList->View()->SetDisableRedraw( EFalse );
       
   492     iList->HandleItemAdditionL();
       
   493 
       
   494     SetSelectedL();
   491     SetSelectedL();
   495     iPreferredUid = *iSelected;
   492     iPreferredUid = *iSelected;
   496     
   493     
   497     SetHighlighted();
   494     SetHighlighted();
   498 
   495 
       
   496     iList->View()->SetDisableRedraw( EFalse );
       
   497     
   499     SizeChanged();
   498     SizeChanged();
   500     DrawNow();
       
   501     
   499     
   502     CheckAndSetDataValidity();
   500     CheckAndSetDataValidity();
   503     UpdateCbaL();
   501     UpdateCbaL();
   504     
   502     
   505     APSETUILOGGER_LEAVEFN( EListbox,"SelPopupList::FillListBoxWithDataL")
   503     APSETUILOGGER_LEAVEFN( EListbox,"SelPopupList::FillListBoxWithDataL")
   523             {
   521             {
   524             idx = i;
   522             idx = i;
   525             i = count;
   523             i = count;
   526             }
   524             }
   527         }
   525         }
   528     iList->SetCurrentItemIndexAndDraw( idx );
   526     
       
   527     iList->SetCurrentItemIndex( idx );
   529     SelectCurrentItemL();
   528     SelectCurrentItemL();
   530     
   529     
   531     APSETUILOGGER_LEAVEFN( EListbox,"SelPopupList::SetSelectedL")
   530     APSETUILOGGER_LEAVEFN( EListbox,"SelPopupList::SetSelectedL")
   532     }
   531     }
   533 
   532