diff options
Diffstat (limited to 'calendar/gui/e-cal-view.c')
-rw-r--r-- | calendar/gui/e-cal-view.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/calendar/gui/e-cal-view.c b/calendar/gui/e-cal-view.c index 6c352270af..84dab61a86 100644 --- a/calendar/gui/e-cal-view.c +++ b/calendar/gui/e-cal-view.c @@ -593,6 +593,8 @@ delete_event (ECalView *cal_view, CalComponent *comp) cal_view->priv->client, NULL); cal_component_get_uid (comp, &uid); + if (!uid || !*uid) + return; delete_error_dialog ( cal_client_remove_object (cal_view->priv->client, uid), CAL_COMPONENT_EVENT); |