Merge pull request #132 from prculley/bug9430
Bug 9430 GEDCOM import PLAC or ADDR attached Notes etc. are lost
This commit is contained in:
commit
9ce3a52d33
@ -5420,6 +5420,8 @@ class GedcomParser(UpdateCallback):
|
||||
self.__parse_level(sub_state, self.event_place_map,
|
||||
self.__undefined)
|
||||
state.msg += sub_state.msg
|
||||
# merge notes etc into place
|
||||
state.place.merge(sub_state.place)
|
||||
|
||||
def __event_place_note(self, line, state):
|
||||
"""
|
||||
@ -5575,7 +5577,7 @@ class GedcomParser(UpdateCallback):
|
||||
place.add_alternate_locations(location)
|
||||
|
||||
# merge notes etc into place
|
||||
place.merge(sub_state.place)
|
||||
state.place.merge(sub_state.place)
|
||||
|
||||
def __add_location(self, place, location):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user