GeoView : str to int problem with the new config module.

svn: r13354
This commit is contained in:
Serge Noiraud 2009-10-08 18:01:06 +00:00
parent b4b57edab4
commit 884d1893e3

View File

@ -345,7 +345,7 @@ class GeoView(HtmlView):
self.lock_action.get_action('SaveZoom').get_active() self.lock_action.get_action('SaveZoom').get_active()
) )
if self.lock_action.get_action('SaveZoom').get_active(): if self.lock_action.get_action('SaveZoom').get_active():
config.set('geoview.zoom', self.realzoom) config.set('geoview.zoom', int(self.realzoom))
config.set('geoview.latitude', self.reallatitude) config.set('geoview.latitude', self.reallatitude)
config.set('geoview.longitude', self.reallongitude) config.set('geoview.longitude', self.reallongitude)
config.set('geoview.map', self.displaytype) config.set('geoview.map', self.displaytype)