From a112f8f3fab5368373477c37e0a90171e50339d9 Mon Sep 17 00:00:00 2001 From: SNoiraud Date: Sun, 31 Jan 2016 12:09:20 +0100 Subject: [PATCH] 2060: Individuals with incomplete names, not updated when name completed --- gramps/plugins/gramplet/statsgramplet.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gramps/plugins/gramplet/statsgramplet.py b/gramps/plugins/gramplet/statsgramplet.py index b210cdfc6..57e475783 100644 --- a/gramps/plugins/gramplet/statsgramplet.py +++ b/gramps/plugins/gramplet/statsgramplet.py @@ -53,8 +53,8 @@ class StatsGramplet(Gramplet): self.set_text(_("No Family Tree loaded.")) self.set_tooltip(_("Double-click item to see matches")) - def post_init(self): - self.disconnect("active-changed") + def active_changed(self, handle): + self.update() def db_changed(self): self.dbstate.db.connect('person-add', self.update)