From 891447768d1eb83893c4fff807df7a453595d085 Mon Sep 17 00:00:00 2001 From: sonora Date: Sun, 4 Jan 2015 12:43:58 +0100 Subject: [PATCH] Hide Waypoint dialogue only while map input is requested --- .../net/osmand/plus/views/controls/MapRouteInfoControl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/views/controls/MapRouteInfoControl.java b/OsmAnd/src/net/osmand/plus/views/controls/MapRouteInfoControl.java index eb607e3d80..9c03e78790 100644 --- a/OsmAnd/src/net/osmand/plus/views/controls/MapRouteInfoControl.java +++ b/OsmAnd/src/net/osmand/plus/views/controls/MapRouteInfoControl.java @@ -81,6 +81,7 @@ public class MapRouteInfoControl extends MapControls implements IRouteInformatio getTargets().setStartPoint(latlon, true, null); } contextMenu.setLocation(latlon, null); + showDialog(); return true; } return super.onSingleTap(point, tileBox); @@ -205,7 +206,7 @@ public class MapRouteInfoControl extends MapControls implements IRouteInformatio selectFromMapTouch = true; selectFromMapForTarget = target; //Dialogue should be hidden while selecting a target, but mus re-appear afterwards - //hideDialog(); + hideDialog(); } protected void selectFavorite(final View parentView, final boolean target) {