bug 8729 place names empty if Gedcom ADDR record contains no street
This commit is contained in:
parent
7851d3bdfb
commit
6cb621c6a3
@ -5569,8 +5569,8 @@ class GedcomParser(UpdateCallback):
|
|||||||
|
|
||||||
# Create the Place Details (it is committed with the event)
|
# Create the Place Details (it is committed with the event)
|
||||||
place_detail = Place()
|
place_detail = Place()
|
||||||
place_detail.set_name(PlaceName(value=location.get_street()))
|
place_detail.set_name(PlaceName(value=title))
|
||||||
place_detail.set_title(location.get_street())
|
place_detail.set_title(title)
|
||||||
# For RootsMagic etc. Place Details e.g. address, hospital, cemetary
|
# For RootsMagic etc. Place Details e.g. address, hospital, cemetary
|
||||||
place_detail.set_type((PlaceType.CUSTOM, _("Detail")))
|
place_detail.set_type((PlaceType.CUSTOM, _("Detail")))
|
||||||
placeref = PlaceRef()
|
placeref = PlaceRef()
|
||||||
|
Loading…
Reference in New Issue
Block a user