From 9cc4a1b3d914469feb710d65df342924d07681d7 Mon Sep 17 00:00:00 2001 From: Serge Noiraud Date: Fri, 13 May 2011 06:11:05 +0000 Subject: [PATCH] geography : add a marker on the map when we add or link a place. svn: r17485 --- src/plugins/lib/maps/geography.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/lib/maps/geography.py b/src/plugins/lib/maps/geography.py index f1bb175ba..eb15a17be 100644 --- a/src/plugins/lib/maps/geography.py +++ b/src/plugins/lib/maps/geography.py @@ -665,6 +665,7 @@ class GeoGraphyView(osmGpsMap, NavigationView): new_place.set_longitude(str(lon)) try: EditPlace(self.dbstate, self.uistate, [], new_place) + self.add_marker(None, None, lat, lon, None, True) except Errors.WindowActiveError: pass @@ -680,6 +681,7 @@ class GeoGraphyView(osmGpsMap, NavigationView): place.set_longitude(str(lon)) try: EditPlace(self.dbstate, self.uistate, [], place) + self.add_marker(None, None, lat, lon, None, True) except Errors.WindowActiveError: pass