From 026f148dca853a31a580c75e1b67104b8dda84d1 Mon Sep 17 00:00:00 2001 From: Hari Rana Date: Tue, 2 Jun 2026 22:49:42 -0400 Subject: [PATCH] event-editor/event-editor-dialog: Always grab focus to summary section Now that the summary section is always focusable, even when the event is non-writable, we can make it grab focus every time. Part-of: --- src/gui/event-editor/gcal-event-editor-dialog.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/gui/event-editor/gcal-event-editor-dialog.c b/src/gui/event-editor/gcal-event-editor-dialog.c index c53d830a..65234587 100644 --- a/src/gui/event-editor/gcal-event-editor-dialog.c +++ b/src/gui/event-editor/gcal-event-editor-dialog.c @@ -673,8 +673,5 @@ gcal_event_editor_dialog_present_event (GcalEventEditorDialog *self, adw_dialog_present (ADW_DIALOG (self), parent); - if (self->writable) - gtk_widget_grab_focus (GTK_WIDGET (self->summary_section)); - else - gtk_widget_grab_focus (self->done_button); + gtk_widget_grab_focus (GTK_WIDGET (self->summary_section)); }