From 620845bc4f688853f578093ace773eff2f2967ce Mon Sep 17 00:00:00 2001 From: prculley Date: Wed, 7 Jun 2017 16:01:46 -0500 Subject: [PATCH] Top surnames Gramplet doesn't update when db is closed Fixes #10073. --- gramps/plugins/gramplet/topsurnamesgramplet.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gramps/plugins/gramplet/topsurnamesgramplet.py b/gramps/plugins/gramplet/topsurnamesgramplet.py index 591b6746a..e3bf54c97 100644 --- a/gramps/plugins/gramplet/topsurnamesgramplet.py +++ b/gramps/plugins/gramplet/topsurnamesgramplet.py @@ -57,6 +57,7 @@ class TopSurnamesGramplet(Gramplet): self.dbstate.db.connect('person-update', self.update) self.dbstate.db.connect('person-rebuild', self.update) self.dbstate.db.connect('family-rebuild', self.update) + self.set_text(_("No Family Tree loaded.")) def on_load(self): if len(self.gui.data) > 0: