Merge pull request #2187 from twain47/notes-missing-from-wizard

Re-run calculateInsulin when OK is pressed
This commit is contained in:
Milos Kozak 2019-11-07 17:44:35 +01:00 committed by GitHub
commit 99e31cad9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -114,6 +114,7 @@ class WizardDialog : DialogFragment() {
log.debug("guarding: ok already clicked")
} else {
okClicked = true
calculateInsulin()
parentContext?.let { context ->
wizard?.confirmAndExecute(context)
}