equal
deleted
inserted
replaced
663 iCalendarInfoNew->SetEnabled(ETrue); |
663 iCalendarInfoNew->SetEnabled(ETrue); |
664 iDbEditor = CCalenMultiDBEditor::NewL(*this,*iCalendarInfoNew, iController, EFalse ); |
664 iDbEditor = CCalenMultiDBEditor::NewL(*this,*iCalendarInfoNew, iController, EFalse ); |
665 |
665 |
666 //Async dialog |
666 //Async dialog |
667 retValue = iDbEditor->ExecuteLD(); |
667 retValue = iDbEditor->ExecuteLD(); |
668 iDbEditor = NULL; |
668 //iDbEditor = NULL; |
669 |
669 |
670 if(EAknCmdExit == retValue ) |
670 if(EAknCmdExit == retValue ) |
671 { |
671 { |
672 iController.BroadcastNotification(ECalenNotifyRealExit); |
672 iController.BroadcastNotification(ECalenNotifyRealExit); |
673 } |
673 } |
682 // ---------------------------------------------------------------------------- |
682 // ---------------------------------------------------------------------------- |
683 // |
683 // |
684 void CCalenMultipleDbUi::UpdateOnAddOrEditL(TBool aItemAdded) |
684 void CCalenMultipleDbUi::UpdateOnAddOrEditL(TBool aItemAdded) |
685 { |
685 { |
686 TRACE_ENTRY_POINT |
686 TRACE_ENTRY_POINT |
|
687 |
|
688 iDbEditor = NULL; |
687 |
689 |
688 if(aItemAdded) |
690 if(aItemAdded) |
689 { |
691 { |
690 // Set calendar properties for new calendar being created. |
692 // Set calendar properties for new calendar being created. |
691 SetCalendarAddPropertiesL(*iCalendarInfoNew); |
693 SetCalendarAddPropertiesL(*iCalendarInfoNew); |
774 iDbEditor = CCalenMultiDBEditor::NewL(*this,*iCalendarInfoEdited, iController, |
776 iDbEditor = CCalenMultiDBEditor::NewL(*this,*iCalendarInfoEdited, iController, |
775 ETrue); |
777 ETrue); |
776 |
778 |
777 //Async dialog |
779 //Async dialog |
778 retValue = iDbEditor->ExecuteLD(); |
780 retValue = iDbEditor->ExecuteLD(); |
779 iDbEditor = NULL; |
781 //iDbEditor = NULL; |
780 |
782 |
781 return retValue; |
783 return retValue; |
782 TRACE_EXIT_POINT |
784 TRACE_EXIT_POINT |
783 } |
785 } |
784 |
786 |