From 0fd2c1d74e8c68da47fa072e697b74fd5200e35d Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Fri, 1 Nov 2013 19:26:52 +0000 Subject: [PATCH] Bug fix for hierarchical places svn: r23445 --- gramps/plugins/lib/maps/placeselection.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gramps/plugins/lib/maps/placeselection.py b/gramps/plugins/lib/maps/placeselection.py index e112711b7..389378758 100644 --- a/gramps/plugins/lib/maps/placeselection.py +++ b/gramps/plugins/lib/maps/placeselection.py @@ -230,6 +230,7 @@ class PlaceSelection(ManagedWindow, OsmGps): parent_list = place.get_placeref_list() while len(parent_list) > 0: place = self.dbstate.db.get_place_from_handle(parent_list[0].ref) + parent_list = place.get_placeref_list() if int(place.get_type()) == PlaceType.COUNTY: county = place.name if parent_place is None: