diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/general/automation/dialogs/EditEventDialog.kt b/app/src/main/java/info/nightscout/androidaps/plugins/general/automation/dialogs/EditEventDialog.kt index db572ade8e..10084a9110 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/general/automation/dialogs/EditEventDialog.kt +++ b/app/src/main/java/info/nightscout/androidaps/plugins/general/automation/dialogs/EditEventDialog.kt @@ -70,7 +70,7 @@ class EditEventDialog : DialogFragmentWithDate() { binding.okcancel.ok.visibility = (!event.readOnly).toVisibility() binding.inputEventTitle.setText(event.title) - binding.inputEventTitle.isFocusable = false + binding.inputEventTitle.isFocusable = !event.readOnly binding.triggerDescription.text = event.trigger.friendlyDescription() binding.editTrigger.visibility = (!event.readOnly).toVisibility()