Merge pull request #1249 from MilosKozak/hypoTT-checkable
react to HypoTT on first click
This commit is contained in:
commit
4052725096
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…
Add table
Reference in a new issue