diff --git a/src/gcal-window.c b/src/gcal-window.c index d9cfc711..7a0cbf0e 100644 --- a/src/gcal-window.c +++ b/src/gcal-window.c @@ -1131,6 +1131,7 @@ edit_dialog_closed (GtkDialog *dialog, event = gcal_edit_dialog_get_event (edit_dialog); view = GCAL_VIEW (window->views[window->active_view]); + gcal_edit_dialog_set_event (edit_dialog, NULL); gtk_widget_hide (GTK_WIDGET (dialog)); switch (response)