calendarui/views/src/calennativeview.cpp
branchRCL_3
changeset 5 42814f902fe6
parent 0 f979ecb2b13e
child 11 0f07cd1b5772
--- a/calendarui/views/src/calennativeview.cpp	Tue Feb 02 10:12:19 2010 +0200
+++ b/calendarui/views/src/calennativeview.cpp	Fri Feb 19 22:49:53 2010 +0200
@@ -409,11 +409,9 @@
             break;
 
         // The context should remain the same for these actions.
-        case ECalenEventView:
         case ECalenForwardsToDayView:
         case ECalenNextView:
         case ECalenPrevView:
-        case ECalenSwitchView:
         case ECalenViewCurrentEntry:
         case ECalenEditCurrentEntry: 
         case ECalenCompleteTodo:
@@ -422,14 +420,15 @@
         case ECalenDeleteCurrentEntry:
         case ECalenDeleteEntriesBeforeDate:
         //case ECalenGlobalSendAsCmdId:
-        case ECalenSend:
+        
             
-            if( aCommand != ECalenSwitchView )
-                {
-                // Mark the flag telling that the command is being handled
                 SetCommandHandlingInProgress( ETrue );
-                }
-
+                iServices.IssueCommandL( aCommand );
+            break;
+            
+        case ECalenEventView:
+        case ECalenSwitchView:  
+		case ECalenSend:
             iServices.IssueCommandL( aCommand );
             break;