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.
This commit is contained in:
Georges Basile Stavracas Neto
2020-06-17 21:24:36 -03:00
parent c1ec9e734b
commit 1bb00b8989
+1
View File
@@ -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*