diff options
author | Marcus Lundblad <ml@update.uu.se> | 2016-02-24 22:27:01 +0100 |
---|---|---|
committer | Marcus Lundblad <ml@update.uu.se> | 2016-02-26 07:35:53 +0100 |
commit | 757bafb4e0fc7114d24c499ee76db6222f3d4c78 (patch) | |
tree | 772c51caef667045b451c59fce3a58ce59c339e0 /src/osmConnection.js | |
parent | 8b44264bc8e90fd268dfd0a513506affd2d32c26 (diff) | |
download | gnome-maps-757bafb4e0fc7114d24c499ee76db6222f3d4c78.tar.gz |
osmUtils: Don't update a place's name if not in the OSM object
When a place has been edited on OSM don't reset the Place's name attribute
if it's not set in the OSM object, since the PlaceFormatter assumes this
is set. For bare address nodes, this would be set to a value contructed
from the address components, so we shouldn't remove this just because
the OSM object doesn't have a name set.
This fixes stack trace when saving places like that.
https://bugzilla.gnome.org/show_bug.cgi?id=762569
Diffstat (limited to 'src/osmConnection.js')
0 files changed, 0 insertions, 0 deletions