From 65fe82ae7c3ace10a896dcb7b584037bcdb9aa55 Mon Sep 17 00:00:00 2001 From: Serge Noiraud Date: Sun, 29 Apr 2012 09:21:47 +0000 Subject: [PATCH] Geography : not all places shown in the status bar when the mouse is over one marker. svn: r19403 --- src/plugins/lib/maps/geography.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/plugins/lib/maps/geography.py b/src/plugins/lib/maps/geography.py index c67e138f4..b82fe6886 100644 --- a/src/plugins/lib/maps/geography.py +++ b/src/plugins/lib/maps/geography.py @@ -437,11 +437,9 @@ class GeoGraphyView(OsmGps, NavigationView): """ Create a list of places with coordinates. """ - found = any(p[0] == place for p in self.place_list) + found = any(p[0] == place for p in self.places_found) if not found: self.nbplaces += 1 - if len(self.place_list) == 0: - self.places_found = [] self.places_found.append([place, lat, longit]) self.place_list.append([place, name, evttype, lat, longit, descr, year, icontype,