no 'Change order' needed on confirmation window for 'destination set' with no intermediates

This commit is contained in:
sonora 2013-06-10 08:07:18 +02:00
parent b31405e3c6
commit c33999c8fb

View file

@ -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() { builder.setNeutralButton(R.string.intermediate_points_change_order, new DialogInterface.OnClickListener() {
@Override @Override
public void onClick(DialogInterface dialog, int which) { public void onClick(DialogInterface dialog, int which) {