From ce297b8a8b2e05fe500c968b9304dc7a684135d8 Mon Sep 17 00:00:00 2001 From: Serge Noiraud Date: Tue, 25 Sep 2012 16:59:16 +0000 Subject: [PATCH] Geography : better place selection if we have a place history. #05742 note 25518 svn: r20447 --- src/plugins/lib/maps/geography.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/plugins/lib/maps/geography.py b/src/plugins/lib/maps/geography.py index 5177d4764..dc8d2bc47 100644 --- a/src/plugins/lib/maps/geography.py +++ b/src/plugins/lib/maps/geography.py @@ -953,7 +953,11 @@ class GeoGraphyView(osmGpsMap, NavigationView): """ Link an existing place using longitude and latitude of location centered on the map + If we have a place history, we must show all places to avoid an empty + place selection in the PlaceSelection. """ + if self.uistate.get_active('Place'): + self._createmap(None) selector = SelectPlace(self.dbstate, self.uistate, []) place = selector.run() if place: