diff --git a/ChangeLog b/ChangeLog index 0bf5d3f7a..fc3ebea7f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2007-12-15 Gary Burton + * src/Editors/_EditFamily.py: emit family-update signal #1416 + 2007-12-15 Douglas S. Blank * src/plugins/Calendar.py: Added relationships (feature #1086) * src/PluginUtils/_MenuOptions.py: added get_center_person to filter option diff --git a/src/Editors/_EditFamily.py b/src/Editors/_EditFamily.py index cc249abc2..8bb4f7274 100644 --- a/src/Editors/_EditFamily.py +++ b/src/Editors/_EditFamily.py @@ -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()