Fix HandleError in Citation gramplet

Fixes #10054.
This commit is contained in:
prculley 2017-05-25 17:36:13 -05:00 committed by Nick Hall
parent 5b0fbf209e
commit eedbe0db67

View File

@ -133,6 +133,7 @@ class Citations(Gramplet, DbGUIElement):
for lds in obj.get_lds_ord_list(): for lds in obj.get_lds_ord_list():
self.add_citations(lds) self.add_citations(lds)
place_handle = lds.get_place_handle() place_handle = lds.get_place_handle()
if place_handle:
place = self.dbstate.db.get_place_from_handle(place_handle) place = self.dbstate.db.get_place_from_handle(place_handle)
if place: if place:
self.add_place_citations(place) self.add_place_citations(place)