From ada6a11ed72754cd55e8122f7a90440811a0d54b Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Tue, 19 Mar 2013 23:14:56 +0000 Subject: [PATCH] Fix bug in citations bottombar gramplet svn: r21701 --- src/plugins/gramplet/Citations.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/plugins/gramplet/Citations.py b/src/plugins/gramplet/Citations.py index 2eb330ca2..a91dbf0be 100644 --- a/src/plugins/gramplet/Citations.py +++ b/src/plugins/gramplet/Citations.py @@ -289,8 +289,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) @@ -361,8 +361,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) @@ -404,8 +404,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) @@ -460,8 +460,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) @@ -503,8 +503,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)