2060: Individuals with incomplete names, not updated when name completed

This commit is contained in:
SNoiraud 2016-01-31 12:09:20 +01:00
parent 91d23b3594
commit a112f8f3fa

View File

@ -53,8 +53,8 @@ class StatsGramplet(Gramplet):
self.set_text(_("No Family Tree loaded.")) self.set_text(_("No Family Tree loaded."))
self.set_tooltip(_("Double-click item to see matches")) self.set_tooltip(_("Double-click item to see matches"))
def post_init(self): def active_changed(self, handle):
self.disconnect("active-changed") self.update()
def db_changed(self): def db_changed(self):
self.dbstate.db.connect('person-add', self.update) self.dbstate.db.connect('person-add', self.update)