GeoView : EditPlace crash with real instead of string.

svn: r13902
This commit is contained in:
Serge Noiraud 2009-12-23 21:32:01 +00:00
parent d8471f652a
commit 3106784c22

View File

@ -1923,8 +1923,8 @@ class GeoView(HtmlView):
on the map
"""
new_place = gen.lib.Place()
new_place.set_latitude(self.reallatitude)
new_place.set_longitude(self.reallongitude)
new_place.set_latitude(str(self.reallatitude))
new_place.set_longitude(str(self.reallongitude))
try:
EditPlace(self.dbstate, self.uistate, [], new_place)
except Errors.WindowActiveError: