parent
97db4cf64e
commit
7e4e66d0e3
@ -323,10 +323,12 @@ class GeoClose(GeoGraphyView):
|
||||
all handling of visibility is now in rebuild_trees, see that for more
|
||||
information.
|
||||
"""
|
||||
self.lifeway_layer.clear_ways()
|
||||
if not self.dbstate.is_open():
|
||||
return
|
||||
active = self.get_active()
|
||||
if active:
|
||||
person = self.dbstate.db.get_person_from_handle(active)
|
||||
self.lifeway_layer.clear_ways()
|
||||
if person is None:
|
||||
self.goto_handle(None)
|
||||
else:
|
||||
|
@ -187,6 +187,8 @@ class GeoEvents(GeoGraphyView):
|
||||
all handling of visibility is now in rebuild_trees, see that for more
|
||||
information.
|
||||
"""
|
||||
if not self.dbstate.is_open():
|
||||
return
|
||||
active = self.uistate.get_active('Event')
|
||||
if active:
|
||||
self._createmap(active)
|
||||
|
@ -317,6 +317,9 @@ class GeoFamClose(GeoGraphyView):
|
||||
all handling of visibility is now in rebuild_trees, see that for more
|
||||
information.
|
||||
"""
|
||||
self.lifeway_layer.clear_ways()
|
||||
if not self.dbstate.is_open():
|
||||
return
|
||||
active = self.get_active()
|
||||
if active:
|
||||
family = self.dbstate.db.get_family_from_handle(active)
|
||||
|
@ -175,6 +175,8 @@ class GeoFamily(GeoGraphyView):
|
||||
all handling of visibility is now in rebuild_trees, see that for more
|
||||
information.
|
||||
"""
|
||||
if not self.dbstate.is_open():
|
||||
return
|
||||
if self.uistate.get_active('Family'):
|
||||
self._createmap(self.uistate.get_active('Family'))
|
||||
else:
|
||||
|
@ -210,6 +210,8 @@ class GeoPerson(GeoGraphyView):
|
||||
all handling of visibility is now in rebuild_trees, see that for more
|
||||
information.
|
||||
"""
|
||||
if not self.dbstate.is_open():
|
||||
return
|
||||
active = self.get_active()
|
||||
self._createmap(None)
|
||||
self.uistate.modify_statusbar(self.dbstate)
|
||||
|
@ -232,6 +232,8 @@ class GeoPlaces(GeoGraphyView):
|
||||
all handling of visibility is now in rebuild_trees, see that for more
|
||||
information.
|
||||
"""
|
||||
if not self.dbstate.is_open():
|
||||
return
|
||||
active = self.uistate.get_active('Place')
|
||||
if active:
|
||||
self._createmap(active)
|
||||
|
Loading…
Reference in New Issue
Block a user