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:
parent
2543cc32fe
commit
d4711a4bcf
@ -1504,6 +1504,8 @@ class GeoView(HtmlView):
|
|||||||
"""
|
"""
|
||||||
if not self.endinit:
|
if not self.endinit:
|
||||||
return
|
return
|
||||||
|
if not self.dbstate.db.is_open():
|
||||||
|
return
|
||||||
if self.nbmarkers > 0 :
|
if self.nbmarkers > 0 :
|
||||||
# While the db is not loaded, we have 0 markers.
|
# While the db is not loaded, we have 0 markers.
|
||||||
self._savezoomandposition()
|
self._savezoomandposition()
|
||||||
|
Loading…
Reference in New Issue
Block a user