Explicitly set birth name in GEDCOM export

Following discussion at https://gramps.discourse.group/t/distinguish-birth-and-married-names-in-ged-file/815/7 .
This commit is contained in:
John Muccigrosso
2020-11-04 11:43:58 -05:00
committed by Nick Hall
parent ba0c222c4e
commit e28a37ba14
2 changed files with 50 additions and 1 deletions

View File

@@ -1304,7 +1304,7 @@ class GedcomWriter(UpdateCallback):
self._writeln(1, 'NAME', gedcom_name)
if int(name.get_type()) == NameType.BIRTH:
pass
self._writeln(2, 'TYPE', 'birth')
elif int(name.get_type()) == NameType.MARRIED:
self._writeln(2, 'TYPE', 'married')
elif int(name.get_type()) == NameType.AKA: