2007-12-15 Gary Burton <gary.burton@zen.co.uk>

* src/Editors/_EditFamily.py: emit family-update signal #1416



svn: r9512
This commit is contained in:
Gary Burton 2007-12-15 21:56:34 +00:00
parent 8712649b7d
commit 2eaaa8369e
2 changed files with 11 additions and 0 deletions

View File

@ -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-15 Douglas S. Blank <dblank@cs.brynmawr.edu>
* src/plugins/Calendar.py: Added relationships (feature #1086)
* src/PluginUtils/_MenuOptions.py: added get_center_person to filter option

View File

@ -942,6 +942,14 @@ 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()