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)