9381: Fix Encloses gramplet to display correct place references
This commit is contained in:
parent
aed80fc725
commit
a70f7eb58f
@ -208,11 +208,8 @@ class Encloses(Locations):
|
|||||||
child_place = self.dbstate.db.get_place_from_handle(link[1])
|
child_place = self.dbstate.db.get_place_from_handle(link[1])
|
||||||
placeref = None
|
placeref = None
|
||||||
for placeref in child_place.get_placeref_list():
|
for placeref in child_place.get_placeref_list():
|
||||||
if placeref.ref != place.handle:
|
if placeref.ref == place.handle:
|
||||||
continue
|
self.add_place(placeref, child_place, node, visited)
|
||||||
|
|
||||||
if placeref:
|
|
||||||
self.add_place(placeref, child_place, node, visited)
|
|
||||||
|
|
||||||
self.set_has_data(self.model.count > 0)
|
self.set_has_data(self.model.count > 0)
|
||||||
self.model.tree.expand_all()
|
self.model.tree.expand_all()
|
||||||
|
Loading…
Reference in New Issue
Block a user