6873 : Children gramplet in Family view does not get updated when a birth/death events are added to a child

This commit is contained in:
SNoiraud 2016-01-31 11:29:01 +01:00
parent 425fe632f3
commit 91d23b3594

View File

@ -189,6 +189,8 @@ class FamilyChildren(Children):
def db_changed(self): def db_changed(self):
self.dbstate.db.connect('family-update', self.update) self.dbstate.db.connect('family-update', self.update)
self.connect_signal('Family', self.update) self.connect_signal('Family', self.update)
self.dbstate.db.connect('person-update', self.update)
self.connect_signal('Person', self.update)
def main(self): def main(self):
active_handle = self.get_active('Family') active_handle = self.get_active('Family')