try leaving both showDialog statements in

This commit is contained in:
sonora 2015-01-04 19:52:37 +01:00
parent dc2ef772dc
commit 69ac75afb3

View file

@ -75,14 +75,14 @@ public class MapRouteInfoControl extends MapControls implements IRouteInformatio
if(selectFromMapTouch) {
LatLon latlon = tileBox.getLatLonFromPixel(point.x, point.y);
selectFromMapTouch = false;
showDialog();
showDialog();
if(selectFromMapForTarget) {
getTargets().navigateToPoint(latlon, true, -1);
} else {
getTargets().setStartPoint(latlon, true, null);
}
contextMenu.setLocation(latlon, null);
//showDialog();
showDialog();
//TODO: Hardy: Looks like there is an old bug somewhere here: Re-selecting the From or To via "Select on map" during a route calculation does interrupt the ongoing route calculation, while reselecting From or To via "Fvorites" correctly re-starts any ongoing route recalculation with the updated point
return true;
}