calendarui/controller/src/calenattachmentui.cpp
branchRCL_3
changeset 14 21239b3bcd78
parent 10 38571fd2a704
child 16 55d60436f00b
equal deleted inserted replaced
13:1984aceb8774 14:21239b3bcd78
   743         
   743         
   744     iAttachmentdlg = CCalenViewAttachmentsDialog::NewL(*iTitle,*attmodel,iController );    
   744     iAttachmentdlg = CCalenViewAttachmentsDialog::NewL(*iTitle,*attmodel,iController );    
   745 
   745 
   746     // Hide the toolbar before we display settings menu
   746     // Hide the toolbar before we display settings menu
   747     MCalenToolbar* toolbar = iController.Services().ToolbarOrNull();
   747     MCalenToolbar* toolbar = iController.Services().ToolbarOrNull();
   748     if(toolbar&&toolbar->IsVisible())
   748    
       
   749     if(toolbar&&toolbar->IsVisible()&& !iController.IsEditorActive())
   749         {
   750         {
   750         toolbar->SetToolbarVisibilityL(EFalse); 
   751         toolbar->SetToolbarVisibilityL(EFalse); 
   751         iShowToolbar = ETrue;
   752         iShowToolbar = ETrue;
   752         }
   753         }
   753     //To make sure we are viewer, so for delete attachment, notification will be issued 
   754     //To make sure we are viewer, so for delete attachment, notification will be issued