#2644: Do not export individual events without primary role
svn: r16031
This commit is contained in:
parent
403bea5f2c
commit
a8ab3b5f4e
@ -619,6 +619,11 @@ class GedcomWriter(UpdateCallback):
|
||||
|
||||
val = libgedcom.personalConstantEvents.get(etype, "").strip()
|
||||
|
||||
role = int(event_ref.get_role())
|
||||
|
||||
if role != gen.lib.EventRoleType.PRIMARY:
|
||||
continue
|
||||
|
||||
if val and val.strip():
|
||||
if val in NEEDS_PARAMETER:
|
||||
if event.get_description().strip():
|
||||
|
Loading…
x
Reference in New Issue
Block a user