From 8365f70eb5cd084b571b8ea3c7015285abc9145e Mon Sep 17 00:00:00 2001 From: sonora Date: Wed, 24 Feb 2016 21:24:03 +0100 Subject: [PATCH] fix Issue that desc is ignored in fav import --- OsmAnd/src/net/osmand/plus/helpers/GpxImportHelper.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OsmAnd/src/net/osmand/plus/helpers/GpxImportHelper.java b/OsmAnd/src/net/osmand/plus/helpers/GpxImportHelper.java index f2f7e8ecf6..8384b4b3b6 100644 --- a/OsmAnd/src/net/osmand/plus/helpers/GpxImportHelper.java +++ b/OsmAnd/src/net/osmand/plus/helpers/GpxImportHelper.java @@ -354,6 +354,9 @@ public class GpxImportHelper { for (GPXUtilities.WptPt p : wptPts) { if (p.category != null) { final FavouritePoint fp = new FavouritePoint(p.lat, p.lon, p.name, p.category); + if (p.desc!=null) { + fp.setDescription(p.desc); + } favourites.add(fp); } else if (p.name != null) { int c;