Merge pull request #715 from Bars107/master

Fixed issue 2328
This commit is contained in:
vshcherb 2014-06-25 14:29:29 +02:00
commit 7d5445cd90

View file

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