diff -r 38571fd2a704 -r 0f07cd1b5772 calendarui/views/src/caleneventview.cpp --- a/calendarui/views/src/caleneventview.cpp Fri Mar 12 15:42:35 2010 +0200 +++ b/calendarui/views/src/caleneventview.cpp Mon Mar 15 12:40:18 2010 +0200 @@ -37,6 +37,7 @@ #include "calendar.hrh" #include #include +#include "calenattachmentmodel.h" // Button position of the MSK CBA button const TInt KSK2CBAPosition = 2; @@ -280,7 +281,12 @@ void CCalenEventView::DoDeactivateImpl() { TRACE_ENTRY_POINT; - + // After forced exit need to Reset CCalenAttachmentModel + //to refresh the model after opening the calender next time + if (iServices.GetAttachmentData()->NumberOfItems()) + { + iServices.GetAttachmentData()->Reset(); + } iPreviousViewId.iViewUid = KNullUid; // Remove the toolbar buttons for event viewer before exiting from event view