Fix Citation Tree view for crash after plugin reload (#602)

Fixes #10541
This commit is contained in:
Paul Culley 2018-04-30 19:31:29 -05:00 committed by Sam Manzi
parent ebc0f25bc7
commit 4dc67910fd

View File

@ -159,7 +159,7 @@ class CitationTreeView(ListView):
def change_active(self, handle): def change_active(self, handle):
try: try:
self.dbstate.db.get_citation_from_handle(handle) self.dbstate.db.get_citation_from_handle(handle)
super(CitationTreeView, self).change_active(handle) super().change_active(handle)
except HandleError: except HandleError:
# FIXME: See http://www.gramps-project.org/bugs/view.php?id=6352 a # FIXME: See http://www.gramps-project.org/bugs/view.php?id=6352 a
# more comprehensive solution is needed in the long term. See also # more comprehensive solution is needed in the long term. See also