Add destination on plus button if no destination selected
This commit is contained in:
parent
ab37997f47
commit
4cbfd2bcb5
1 changed files with 1 additions and 1 deletions
|
@ -1124,7 +1124,7 @@ public class MapRouteInfoMenu implements IRouteInformationListener, CardListener
|
|||
toButton.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View view) {
|
||||
openAddPointDialog(PointType.INTERMEDIATE);
|
||||
openAddPointDialog(app.getTargetPointsHelper().getPointToNavigate() == null ? PointType.TARGET : PointType.INTERMEDIATE);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue