suppress button

This commit is contained in:
sonora 2013-06-10 08:26:32 +02:00
parent c33999c8fb
commit 1e2825bb1d

View file

@ -110,7 +110,7 @@ public class IntermediatePointsDialog {
openIntermediatePointsDialog(activity, app, true); openIntermediatePointsDialog(activity, app, true);
} }
}); });
} else { } else if(intermediates.size()>1) {
builder.setNeutralButton(R.string.intermediate_items_sort_by_distance, new Dialog.OnClickListener() { builder.setNeutralButton(R.string.intermediate_items_sort_by_distance, new Dialog.OnClickListener() {
@Override @Override
public void onClick(DialogInterface d, int which) { public void onClick(DialogInterface d, int which) {