Fixed issue 2328 with waypoint dialog checkboxes

This commit is contained in:
unknown 2014-06-25 13:07:11 +03:00
parent b6c673663e
commit ef45f26fc6

View file

@ -254,7 +254,8 @@ public class IntermediatePointsDialog {
tv.setCompoundDrawablePadding(padding);
final CheckBox ch = ((CheckBox) v.findViewById(R.id.check_item));
ch.setVisibility(View.VISIBLE);
ch.setChecked(true);
ch.setOnCheckedChangeListener(null);
ch.setChecked(checkedIntermediates[position]);
ch.setOnCheckedChangeListener(new OnCheckedChangeListener() {
@Override
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {