calendarui/organizerplugin/aiagendapluginengine/src/CalenAsyncCommands.cpp
branchRCL_3
changeset 13 1984aceb8774
parent 5 42814f902fe6
child 15 9711e452b5e9
equal deleted inserted replaced
11:0f07cd1b5772 13:1984aceb8774
    93 void CMultistepCommandBase::CompleteSelf()
    93 void CMultistepCommandBase::CompleteSelf()
    94     {
    94     {
    95     TRACE_ENTRY_POINT;
    95     TRACE_ENTRY_POINT;
    96     
    96     
    97     TRequestStatus* pStat = &iStatus;
    97     TRequestStatus* pStat = &iStatus;
    98     User::RequestComplete( pStat, KErrNone );
       
    99 
       
   100     if( IsAdded() )
    98     if( IsAdded() )
   101         {
    99         {
   102         SetActive();
   100         if (!IsActive())
       
   101             {
       
   102             SetActive();
       
   103             }
       
   104         User::RequestComplete( pStat, KErrNone );
   103         }
   105         }
   104     
   106     
   105     TRACE_EXIT_POINT;
   107     TRACE_EXIT_POINT;
   106     }
   108     }
   107 
   109