2007-12-15 Gary Burton <gary.burton@zen.co.uk>
* src/Editors/_EditFamily.py: emit family-update signal #1416 svn: r9511
This commit is contained in:
parent
65c99d23b5
commit
ab29b78e6d
@ -1,3 +1,6 @@
|
||||
2007-12-15 Gary Burton <gary.burton@zen.co.uk>
|
||||
* src/Editors/_EditFamily.py: emit family-update signal #1416
|
||||
|
||||
2007-12-14 Benny Malengier <benny.malengier@gramps-project.org>
|
||||
* src/RelLib/_Repository.py: Repo has address which can have source, so
|
||||
backref of source to repo must be allowed and added!
|
||||
|
@ -898,6 +898,15 @@ class EditFamily(EditPrimary):
|
||||
else:
|
||||
self.db.commit_family(self.obj, trans)
|
||||
self.db.transaction_commit(trans, _("Edit Family"))
|
||||
else:
|
||||
# Signal an update to allow other windows that use family data to
|
||||
# refresh. The family-update signal is normally only emitted when
|
||||
# the family record itself changes, however the Relationship view
|
||||
# needs to know to refresh when related data such as the marriage
|
||||
# event may have been altered.
|
||||
# Bug #1416
|
||||
self.db.emit('family-update', ([],))
|
||||
|
||||
|
||||
self.close()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user