phonebookui/Phonebook2/CommandsExtension/src/CPbk2DeleteContactsCmd.cpp
branchRCL_3
changeset 3 04ab22b956c2
parent 0 e686773b3f54
child 23 5586b4d2ec3e
equal deleted inserted replaced
0:e686773b3f54 3:04ab22b956c2
   274             ConfirmDeletionL();
   274             ConfirmDeletionL();
   275             break;
   275             break;
   276             }
   276             }
   277         case EStarting:
   277         case EStarting:
   278             {
   278             {
       
   279             
       
   280             // Returns NULL if there are no selected contacts.
       
   281             // In that case we will delete the focused contact.
       
   282             if ( iUiControl )
       
   283                 {
       
   284                 //Re-Fetch the Contact Iterator
       
   285                 MPbk2ContactLinkIterator* contactIterator = iUiControl->SelectedContactsIteratorL();
       
   286                 if ( contactIterator )
       
   287                     {
       
   288                     delete iContactIterator;
       
   289                     iContactIterator = contactIterator;
       
   290                     }
       
   291                 }
       
   292                 
   279             if( iDecorator )
   293             if( iDecorator )
   280             	{
   294             	{
   281                 iDecorator->ProcessStartedL( iContactCount );
   295                 iDecorator->ProcessStartedL( iContactCount );
   282             	}
   296             	}
   283             
   297