GeoView : str to int problem with the new config module.
svn: r13354
This commit is contained in:
parent
b4b57edab4
commit
884d1893e3
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user