Fixed deleting a place with a reference
svn: r1110
This commit is contained in:
parent
7f05955441
commit
aa75b2055b
@ -184,7 +184,7 @@ class PlaceView:
|
|||||||
used = 0
|
used = 0
|
||||||
place = self.db.getPlace(obj.get_row_data(index))
|
place = self.db.getPlace(obj.get_row_data(index))
|
||||||
for key in self.db.getPersonKeys():
|
for key in self.db.getPersonKeys():
|
||||||
p = self.db.getPerson[key]
|
p = self.db.getPerson(key)
|
||||||
event_list = [p.getBirth(), p.getDeath()] + p.getEventList()
|
event_list = [p.getBirth(), p.getDeath()] + p.getEventList()
|
||||||
if p.getLdsBaptism():
|
if p.getLdsBaptism():
|
||||||
event_list.append(p.getLdsBaptism())
|
event_list.append(p.getLdsBaptism())
|
||||||
|
Loading…
Reference in New Issue
Block a user