geography : bug when we changed the map in the events and places map.

svn: r17257
This commit is contained in:
Serge Noiraud 2011-04-25 21:14:00 +00:00
parent 199e3a7bab
commit 9db980b00e
2 changed files with 2 additions and 2 deletions

View File

@ -722,7 +722,7 @@ class GeoGraphyView(osmGpsMap, NavigationView):
configdialog.add_text(table,
_('If you have no more space in your file system\n'
'You can remove all tiles placed in the above path.\n'
'Be careful if you have no internet, you\'ll get no map.'),
'Be careful! If you have no internet, you\'ll get no map.'),
3)
# there is no button. I need to found a solution for this.
# it can be very dangerous ! if someone put / in geography.path ...

View File

@ -152,7 +152,7 @@ class osmGpsMap():
self.osm.show()
self.vbox.pack_start(self.osm)
if obj is not None:
self._createmap(obj)
self._createmap(None)
def zoom_changed(self, zoom):
config.set("geography.zoom",self.osm.props.zoom)