try something strange: duplicate calls

This commit is contained in:
sonora 2015-01-04 20:53:43 +01:00
parent dc6dad9546
commit a5010cd19b

View file

@ -78,8 +78,10 @@ public class MapRouteInfoControl extends MapControls implements IRouteInformatio
//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
if(selectFromMapForTarget) {
getTargets().navigateToPoint(latlon, true, -1);
getTargets().navigateToPoint(latlon, true, -1);
} else {
getTargets().setStartPoint(latlon, true, null);
getTargets().setStartPoint(latlon, true, null);
}
contextMenu.setLocation(latlon, null);
showDialog();