Merge pull request #165 from prculley/bug8729

bug 8729 place names empty if Gedcom ADDR record contains no street
This commit is contained in:
Doug Blank 2016-06-02 16:08:11 -04:00
commit c8d5a40efc

View File

@ -5572,8 +5572,8 @@ class GedcomParser(UpdateCallback):
# Create the Place Details (it is committed with the event)
place_detail = Place()
place_detail.set_name(PlaceName(value=location.get_street()))
place_detail.set_title(location.get_street())
place_detail.set_name(PlaceName(value=title))
place_detail.set_title(title)
# For RootsMagic etc. Place Details e.g. address, hospital, cemetary
place_detail.set_type((PlaceType.CUSTOM, _("Detail")))
placeref = PlaceRef()