diff --git a/gramps/plugins/view/geoclose.py b/gramps/plugins/view/geoclose.py index 3b7a3f445..39e9c4a8e 100644 --- a/gramps/plugins/view/geoclose.py +++ b/gramps/plugins/view/geoclose.py @@ -314,7 +314,7 @@ class GeoClose(GeoGraphyView): information. """ self.lifeway_layer.clear_ways() - if not self.dbstate.is_open(): + if not self.dbstate.open: return active = self.get_active() if active: diff --git a/gramps/plugins/view/geoevents.py b/gramps/plugins/view/geoevents.py index 9cd49802e..ee3befaed 100644 --- a/gramps/plugins/view/geoevents.py +++ b/gramps/plugins/view/geoevents.py @@ -188,7 +188,7 @@ class GeoEvents(GeoGraphyView): all handling of visibility is now in rebuild_trees, see that for more information. """ - if not self.dbstate.is_open(): + if not self.dbstate.open: return active = self.uistate.get_active('Event') if active: diff --git a/gramps/plugins/view/geofamclose.py b/gramps/plugins/view/geofamclose.py index d3af73a33..b6edbc786 100644 --- a/gramps/plugins/view/geofamclose.py +++ b/gramps/plugins/view/geofamclose.py @@ -305,7 +305,7 @@ class GeoFamClose(GeoGraphyView): information. """ self.lifeway_layer.clear_ways() - if not self.dbstate.is_open(): + if not self.dbstate.open: return active = self.get_active() family = self.dbstate.db.get_family_from_handle(active) diff --git a/gramps/plugins/view/geofamily.py b/gramps/plugins/view/geofamily.py index 4f6437ffa..03d40d559 100644 --- a/gramps/plugins/view/geofamily.py +++ b/gramps/plugins/view/geofamily.py @@ -178,7 +178,7 @@ class GeoFamily(GeoGraphyView): all handling of visibility is now in rebuild_trees, see that for more information. """ - if not self.dbstate.is_open(): + if not self.dbstate.open: return if self.uistate.get_active('Family'): self._createmap(self.uistate.get_active('Family')) diff --git a/gramps/plugins/view/geoperson.py b/gramps/plugins/view/geoperson.py index 00bc52167..6d1c2fc99 100644 --- a/gramps/plugins/view/geoperson.py +++ b/gramps/plugins/view/geoperson.py @@ -215,7 +215,7 @@ class GeoPerson(GeoGraphyView): all handling of visibility is now in rebuild_trees, see that for more information. """ - if not self.dbstate.is_open(): + if not self.dbstate.open: return active = self.get_active() self._createmap(active) diff --git a/gramps/plugins/view/geoplaces.py b/gramps/plugins/view/geoplaces.py index 74c7ab30c..4ab0e59dd 100644 --- a/gramps/plugins/view/geoplaces.py +++ b/gramps/plugins/view/geoplaces.py @@ -189,7 +189,7 @@ class GeoPlaces(GeoGraphyView): all handling of visibility is now in rebuild_trees, see that for more information. """ - if not self.dbstate.is_open(): + if not self.dbstate.open: return active = self.uistate.get_active('Place') if active: