Fix Citation Tree view for crash after plugin reload (#602)
Fixes #10541
This commit is contained in:
parent
ebc0f25bc7
commit
4dc67910fd
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user