Fix place reference editor for bad cut/paste on set_latlongitude (#644)

Fixes #10719
This commit is contained in:
Paul Culley 2018-09-03 18:08:50 -05:00 committed by Sam Manzi
parent 6bab78df21
commit 893c715a61

View File

@ -179,8 +179,8 @@ class EditPlaceRef(EditReference):
self.latitude.set_text(value[:coma])
self.top.get_object("lat_entry").validate(force=True)
self.top.get_object("lon_entry").validate(force=True)
self.obj.set_latitude(self.latitude.get_value())
self.obj.set_longitude(self.longitude.get_value())
self.source.set_latitude(self.latitude.get_value())
self.source.set_longitude(self.longitude.get_value())
except:
pass