react to HypoTT on first click
onClickListener, not OnCheckedListener was set for HypoTT
This commit is contained in:
parent
130fca4c2a
commit
fa67aa69d5
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ public class NewCarbsDialog extends DialogFragment implements OnClickListener, C
|
||||||
startHypoTTCheckbox.setOnCheckedChangeListener(null);
|
startHypoTTCheckbox.setOnCheckedChangeListener(null);
|
||||||
startHypoTTCheckbox.setChecked(true);
|
startHypoTTCheckbox.setChecked(true);
|
||||||
}
|
}
|
||||||
startHypoTTCheckbox.setOnClickListener(this);
|
startHypoTTCheckbox.setOnCheckedChangeListener(this);
|
||||||
|
|
||||||
setCancelable(true);
|
setCancelable(true);
|
||||||
getDialog().setCanceledOnTouchOutside(false);
|
getDialog().setCanceledOnTouchOutside(false);
|
||||||
|
|
Loading…
Reference in a new issue