GeoView : crash in all events places when no coordinates for a place.
svn: r11893
This commit is contained in:
parent
38c04c0a50
commit
00d0a3c63d
@ -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.")
|
||||||
|
Loading…
Reference in New Issue
Block a user