From c757ef3a0b7a2b134d19761943974282dbaf54fc Mon Sep 17 00:00:00 2001 From: simon Date: Tue, 18 Aug 2020 11:50:44 +0300 Subject: [PATCH] address display issue fixed --- .../osmand/plus/mapcontextmenu/editors/FavoritePointEditor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/mapcontextmenu/editors/FavoritePointEditor.java b/OsmAnd/src/net/osmand/plus/mapcontextmenu/editors/FavoritePointEditor.java index db68cef5c5..021d8908e1 100644 --- a/OsmAnd/src/net/osmand/plus/mapcontextmenu/editors/FavoritePointEditor.java +++ b/OsmAnd/src/net/osmand/plus/mapcontextmenu/editors/FavoritePointEditor.java @@ -39,7 +39,7 @@ public class FavoritePointEditor extends PointEditor { } favorite = new FavouritePoint(latLon.getLatitude(), latLon.getLongitude(), title, lastCategory); favorite.setDescription(""); - favorite.setAddress(address); + favorite.setAddress(address.isEmpty() ? title : address); favorite.setOriginObjectName(originObjectName); FavoritePointEditorFragmentNew.showInstance(mapActivity); }