Geography : 8984 : Edit place from Geography creates duplicate in the "enclosed by" tab.
This commit is contained in:
parent
81eda27f5d
commit
590621ea7f
@ -1051,10 +1051,6 @@ class GeoGraphyView(OsmGps, NavigationView):
|
|||||||
place = self.dbstate.db.get_place_from_gramps_id(self.mark[9])
|
place = self.dbstate.db.get_place_from_gramps_id(self.mark[9])
|
||||||
place.set_latitude(str(plat))
|
place.set_latitude(str(plat))
|
||||||
place.set_longitude(str(plon))
|
place.set_longitude(str(plon))
|
||||||
if parent:
|
|
||||||
placeref = PlaceRef()
|
|
||||||
placeref.ref = parent
|
|
||||||
place.add_placeref(placeref)
|
|
||||||
try:
|
try:
|
||||||
EditPlace(self.dbstate, self.uistate, [], place)
|
EditPlace(self.dbstate, self.uistate, [], place)
|
||||||
except WindowActiveError:
|
except WindowActiveError:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user