From e3193c751140b4db1fa388d7fe3b9f3f66a7c74c Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Tue, 19 Mar 2013 23:15:35 +0000 Subject: [PATCH] Fix bug in citations bottombar gramplet svn: r21703 --- gramps/plugins/gramplet/citations.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gramps/plugins/gramplet/citations.py b/gramps/plugins/gramplet/citations.py index 23b3c06b9..f63167ca2 100644 --- a/gramps/plugins/gramplet/citations.py +++ b/gramps/plugins/gramplet/citations.py @@ -290,8 +290,8 @@ class PersonCitations(Citations): self.model.clear() self.callman.unregister_all() - self.callman.register_obj(active) if active: + self.callman.register_obj(active) self.display_citations(active) else: self.set_has_data(False) @@ -362,8 +362,8 @@ class EventCitations(Citations): self.model.clear() self.callman.unregister_all() - self.callman.register_obj(active) if active: + self.callman.register_obj(active) self.display_citations(active) else: self.set_has_data(False) @@ -405,8 +405,8 @@ class FamilyCitations(Citations): self.model.clear() self.callman.unregister_all() - self.callman.register_obj(active) if active: + self.callman.register_obj(active) self.display_citations(active) else: self.set_has_data(False) @@ -461,8 +461,8 @@ class PlaceCitations(Citations): self.model.clear() self.callman.unregister_all() - self.callman.register_obj(active) if active: + self.callman.register_obj(active) self.display_citations(active) else: self.set_has_data(False) @@ -504,8 +504,8 @@ class MediaCitations(Citations): self.model.clear() self.callman.unregister_all() - self.callman.register_obj(active) if active: + self.callman.register_obj(active) self.display_citations(active) else: self.set_has_data(False)