Check for null place
svn: r339
This commit is contained in:
parent
92b50ce545
commit
18af725d93
@ -198,8 +198,11 @@ class Marriage:
|
||||
if not event:
|
||||
return
|
||||
detail = get_detail_flags(event)
|
||||
self.event_list.append([text,event.getQuoteDate(),
|
||||
event.getPlace().get_title(),detail])
|
||||
if event.getPlace():
|
||||
p = event.getPlace().get_title()
|
||||
else:
|
||||
p = ""
|
||||
self.event_list.append([text,event.getQuoteDate(),p,detail])
|
||||
self.event_list.set_row_data(self.lines,event)
|
||||
self.lines = self.lines + 1
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user