diff options
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r-- | calendar/gui/e-day-view.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c index 2ec44e2ac6..e47cbed34b 100644 --- a/calendar/gui/e-day-view.c +++ b/calendar/gui/e-day-view.c @@ -1080,7 +1080,7 @@ e_day_view_update_event (EDayView *day_view, return; /* If one non-recurring event was added, we can just add it. */ - if (flags == CHANGE_NEW && !ico->recur) { + if (flags == CHANGE_NEW && ico && !ico->recur) { if (ico->dtstart < day_view->upper && ico->dtend > day_view->lower) { e_day_view_add_event (ico, ico->dtstart, ico->dtend, |