--- a/calendarui/controller/src/calenviewmanager.cpp Mon Mar 15 12:40:18 2010 +0200
+++ b/calendarui/controller/src/calenviewmanager.cpp Wed Mar 31 21:29:10 2010 +0300
@@ -891,8 +891,10 @@
}
// set the previous view id
- iPreviousViewId.iViewUid = cachePreviousViewId;
-
+ if(cachePreviousViewId != KUidCalenEventView)
+ {
+ iPreviousViewId.iViewUid = cachePreviousViewId;
+ }
TRACE_EXIT_POINT;
}
@@ -1514,7 +1516,14 @@
// the event view
if(iPreviousViewId.iViewUid != KNullUid)
{
- RequestActivationL(iPreviousViewId.iViewUid);
+ if(iPreviousToDayView.iViewUid != KNullUid)
+ {
+ RequestActivationL(iPreviousViewId.iViewUid, KUidCalenShowBackCba);
+ }
+ else
+ {
+ RequestActivationL(iPreviousViewId.iViewUid);
+ }
}
}
else