notepad/notepad1/LibSrc/NpdPopupList.cpp
branchRCL_3
changeset 13 0f07cd1b5772
parent 0 f979ecb2b13e
child 67 1539a383d7b6
equal deleted inserted replaced
12:38571fd2a704 13:0f07cd1b5772
   114 void CNotepadPopupList::AttemptExitL(TBool aAccept)
   114 void CNotepadPopupList::AttemptExitL(TBool aAccept)
   115     {
   115     {
   116     if ( !iFinished || *iFinished ) // really finished
   116     if ( !iFinished || *iFinished ) // really finished
   117         {
   117         {
   118         CAknPopupList::AttemptExitL(aAccept);
   118         CAknPopupList::AttemptExitL(aAccept);
       
   119         if ( iFlags & ENotepadIsViewDeactivated )
       
   120         	{
       
   121             iEikonEnv->RemoveFromStack(this);
       
   122             CAknEnv::StopSchedulerWaitWithBusyMessage(iWait);	
       
   123         	}        
   119         }
   124         }
   120     else // empty -> non-empty
   125     else // empty -> non-empty
   121         {
   126         {
   122         iEikonEnv->RemoveFromStack(this);
   127         iEikonEnv->RemoveFromStack(this);
   123         CAknEnv::StopSchedulerWaitWithBusyMessage(iWait);
   128         CAknEnv::StopSchedulerWaitWithBusyMessage(iWait);