aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/calendar.c')
-rw-r--r--calendar/gui/calendar.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/calendar.c b/calendar/gui/calendar.c
index d8b56160e8..57c9ad9230 100644
--- a/calendar/gui/calendar.c
+++ b/calendar/gui/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