* src/EditSource.py: commit events after deleting sources

svn: r4042
This commit is contained in:
Don Allingham 2005-02-17 02:24:23 +00:00
parent 5ce24ad90a
commit 7d985fd276
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,6 @@
2005-02-16 Don Allingham <dallingham@users.sourceforge.net>
* src/EditSource.py: commit events after deleting sources
2005-02-16 Eero Tamminen <eerot@sf>
* src/plugins/GraphViz.py: 'pagesv' value comes from 'vpages'
field, not 'hpages'

View File

@ -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)