Geography : 8984 : Edit place from Geography creates duplicate in the "enclosed by" tab.

This commit is contained in:
SNoiraud 2015-10-12 17:15:27 +02:00
parent 81eda27f5d
commit 590621ea7f

View File

@ -1051,10 +1051,6 @@ class GeoGraphyView(OsmGps, NavigationView):
place = self.dbstate.db.get_place_from_gramps_id(self.mark[9])
place.set_latitude(str(plat))
place.set_longitude(str(plon))
if parent:
placeref = PlaceRef()
placeref.ref = parent
place.add_placeref(placeref)
try:
EditPlace(self.dbstate, self.uistate, [], place)
except WindowActiveError: