Skip to content

Commit

Permalink
Cannot create Place with coordinates via Geography
Browse files Browse the repository at this point in the history
Fixes #13228
  • Loading branch information
SNoiraud authored and Nick-Hall committed Mar 21, 2024
1 parent a72f1d8 commit 3902542
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gramps/plugins/lib/maps/geography.py
Original file line number Diff line number Diff line change
Expand Up @@ -1285,7 +1285,7 @@ def __add_place(self, parent, plat, plon):
# parent[1] : state
# parent[2] : town
# parent[3] : name
value = PlaceSelection.untag_text(parent[2], 1)
value = self.select_fct.untag_text(parent[2], 1)
plname = PlaceName()
plname.set_value(value)
handle = self.place_exists(value)
Expand All @@ -1294,7 +1294,7 @@ def __add_place(self, parent, plat, plon):
placeref = PlaceRef()
placeref.ref = handle
new_place.add_placeref(placeref)
value = PlaceSelection.untag_text(parent[3], 1)
value = self.select_fct.untag_text(parent[3], 1)
plname.set_value(value)
new_place.set_name(plname)
else:
Expand Down

0 comments on commit 3902542

Please sign in to comment.