Merge pull request #1249 from MilosKozak/hypoTT-checkable

react to HypoTT on first click
This commit is contained in:
Milos Kozak 2018-07-24 09:26:10 +02:00 committed by GitHub
commit 4052725096
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -160,7 +160,7 @@ public class NewCarbsDialog extends DialogFragment implements OnClickListener, C
startHypoTTCheckbox.setOnCheckedChangeListener(null);
startHypoTTCheckbox.setChecked(true);
}
startHypoTTCheckbox.setOnClickListener(this);
startHypoTTCheckbox.setOnCheckedChangeListener(this);
setCancelable(true);
getDialog().setCanceledOnTouchOutside(false);