From c33999c8fb34b49ab2369048d3997d067513e6c5 Mon Sep 17 00:00:00 2001 From: sonora Date: Mon, 10 Jun 2013 08:07:18 +0200 Subject: [PATCH] no 'Change order' needed on confirmation window for 'destination set' with no intermediates --- .../net/osmand/plus/activities/IntermediatePointsDialog.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/IntermediatePointsDialog.java b/OsmAnd/src/net/osmand/plus/activities/IntermediatePointsDialog.java index f1f7f699eb..80f9089170 100644 --- a/OsmAnd/src/net/osmand/plus/activities/IntermediatePointsDialog.java +++ b/OsmAnd/src/net/osmand/plus/activities/IntermediatePointsDialog.java @@ -103,7 +103,7 @@ public class IntermediatePointsDialog { } }); - if (!changeOrder) { + if (!changeOrder && intermediates.size()>1) { builder.setNeutralButton(R.string.intermediate_points_change_order, new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int which) {