diff --git a/ChangeLog b/ChangeLog index 00c7633d2..b6580e6e6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,7 +2,7 @@ * src/RelLib/_AttributeType.py: Add WITNESS (used by GEDCOM parser to import textual event witness information * src/GrampsDbUtils/_GedcomParse.py: Support for some types of Witness - data; Parse MAP/LATI/LONG + data; Parse MAP/LATI/LONG; Fix creation of Nobility Title * src/GrampsDbUtils/_GedcomTokens.py: Add MAP,LATI,LONG diff --git a/src/GrampsDbUtils/_GedcomParse.py b/src/GrampsDbUtils/_GedcomParse.py index 9448cb144..8ab652744 100644 --- a/src/GrampsDbUtils/_GedcomParse.py +++ b/src/GrampsDbUtils/_GedcomParse.py @@ -1632,6 +1632,7 @@ class GedcomParser(UpdateCallback): event_ref = RelLib.EventRef() event.set_gramps_id(self.emapper.find_next()) event.set_type(RelLib.EventType.NOB_TITLE) + event.set_description(line.data) sub_state = GedcomUtils.CurrentState() sub_state.person = state.person @@ -1643,6 +1644,8 @@ class GedcomParser(UpdateCallback): person_event_name(event, state.person) self.dbase.add_event(event, self.trans) + event_ref.ref = event.handle + state.person.add_event_ref(event_ref) def func_person_attr_plac(self, line, state): """