GeoView : bug 3820 : The database was no more opened the first time we create a page ( relative to svn 15029 )

svn: r15104
This commit is contained in:
Serge Noiraud 2010-04-13 17:08:16 +00:00
parent 2543cc32fe
commit d4711a4bcf

View File

@ -1504,6 +1504,8 @@ class GeoView(HtmlView):
"""
if not self.endinit:
return
if not self.dbstate.db.is_open():
return
if self.nbmarkers > 0 :
# While the db is not loaded, we have 0 markers.
self._savezoomandposition()