aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/calendar.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/calendar.c')
-rw-r--r--calendar/calendar.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/calendar.c b/calendar/calendar.c
index d8b56160e8..57c9ad9230 100644
--- a/calendar/calendar.c
+++ b/calendar/calendar.c
@@ -505,16 +505,16 @@ void
calendar_object_changed (Calendar *cal, iCalObject *obj, int flags)
{
obj->last_mod = time (NULL);
-
+ obj->pilot_status = ICAL_PILOT_SYNC_MOD;
+
if (!(flags & CHANGE_DATES))
return;
/* Remove any alarms on the alarm list for this object */
while (alarm_kill (obj))
;
- ical_object_try_alarms (obj);
- obj->pilot_status = ICAL_PILOT_SYNC_MOD;
+ ical_object_try_alarms (obj);
}
static void