diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 7170b7fb0..ab1d496e1 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,6 @@ +2005-02-16 Don Allingham + * src/EditSource.py: commit events after deleting sources + 2005-02-16 Eero Tamminen * src/plugins/GraphViz.py: 'pagesv' value comes from 'vpages' field, not 'hpages' diff --git a/gramps2/src/EditSource.py b/gramps2/src/EditSource.py index 2bbb92674..b373d1e33 100644 --- a/gramps2/src/EditSource.py +++ b/gramps2/src/EditSource.py @@ -483,9 +483,11 @@ class DelSrcQuery: v = self.db.get_event_from_handle(v_id) if v: commit += self.delete_source(v) + self.db.commit_event(v,trans) for v in p.get_attribute_list(): commit += self.delete_source(v) + self.db.commit_event(v,trans) if commit > 0: self.db.commit_family(p,trans)