Fix Geography view 'Find' when db is closed.

Fixes #10229
This commit is contained in:
prculley
2017-10-14 11:36:31 -05:00
committed by Nick Hall
parent 97db4cf64e
commit 7e4e66d0e3
6 changed files with 15 additions and 2 deletions

View File

@ -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)