aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-model-tasks.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-cal-model-tasks.c')
-rw-r--r--calendar/gui/e-cal-model-tasks.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/calendar/gui/e-cal-model-tasks.c b/calendar/gui/e-cal-model-tasks.c
index 05b97374bb..7619c4fb0c 100644
--- a/calendar/gui/e-cal-model-tasks.c
+++ b/calendar/gui/e-cal-model-tasks.c
@@ -699,6 +699,8 @@ set_status (ECalModelComponent *comp_data, const char *value)
case ICAL_STATUS_CANCELLED:
ensure_task_not_complete (comp_data);
+ /* do this again, because the previous function changed status to NEEDSACTION */
+ icalproperty_set_status (prop, status);
break;
case ICAL_STATUS_COMPLETED: