Bug 9430 GEDCOM import PLAC or ADDR attached Notes etc. are lost

This commit is contained in:
prculley 2016-05-12 11:25:23 -05:00
parent 9424539930
commit 86f826a79b

View File

@ -5417,6 +5417,8 @@ class GedcomParser(UpdateCallback):
self.__parse_level(sub_state, self.event_place_map, self.__parse_level(sub_state, self.event_place_map,
self.__undefined) self.__undefined)
state.msg += sub_state.msg state.msg += sub_state.msg
# merge notes etc into place
state.place.merge(sub_state.place)
def __event_place_note(self, line, state): def __event_place_note(self, line, state):
""" """
@ -5572,7 +5574,7 @@ class GedcomParser(UpdateCallback):
place.add_alternate_locations(location) place.add_alternate_locations(location)
# merge notes etc into place # merge notes etc into place
place.merge(sub_state.place) state.place.merge(sub_state.place)
def __add_location(self, place, location): def __add_location(self, place, location):
""" """