GeoView : crash in all events places when no coordinates for a place.

svn: r11893
This commit is contained in:
Serge Noiraud 2009-02-07 09:52:19 +00:00
parent 38c04c0a50
commit 00d0a3c63d

View File

@ -1486,6 +1486,7 @@ class GeoView(HtmlView):
descr2, self.center, eventyear) descr2, self.center, eventyear)
self.center = False self.center = False
else: else:
descr = place.get_title()
self.append_to_places_without_coordinates(place.gramps_id,descr) self.append_to_places_without_coordinates(place.gramps_id,descr)
if self.center: if self.center:
mess = _("Cannot center the map. No location with coordinates.") mess = _("Cannot center the map. No location with coordinates.")