From 1bb00b8989830e74761943c393517569c7b890fd Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Wed, 17 Jun 2020 21:21:18 -0300 Subject: [PATCH] edit-dialog: Commit sequence after poking at component GcalEditDialog code pre-dates GcalEvent and apply changes directly to the underlying ECalComponent. However, it doesn't commit the sequence after doing so, which opens the door for doom. Commit the component sequence after changing the recurrence data. --- src/gui/gcal-edit-dialog.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/gcal-edit-dialog.c b/src/gui/gcal-edit-dialog.c index 46344c9c..ae2b6714 100644 --- a/src/gui/gcal-edit-dialog.c +++ b/src/gui/gcal-edit-dialog.c @@ -387,6 +387,7 @@ remove_recurrence_properties (GcalEvent *event) e_cal_component_set_recurid (comp, NULL); e_cal_component_set_rrules (comp, NULL); + e_cal_component_commit_sequence (comp); } static gchar*