summary-section: Grab focus on summary entry when opening dialog

Due to an unintentional behavior change from AdwWindow to AdwDialog, the entry row must be focused after the dialog is displayed.
This commit is contained in:
Hari Rana
2024-02-24 22:53:54 +00:00
committed by Georges Basile Stavracas Neto
parent 1257af8b89
commit 1494f7407f
2 changed files with 6 additions and 4 deletions
@@ -81,6 +81,8 @@ gcal_reminders_section_set_event (GcalEventEditorSection *section,
gtk_editable_set_text (GTK_EDITABLE (self->location_entry), gcal_event_get_location (event));
adw_entry_row_grab_focus_without_selecting (self->summary_entry);
GCAL_EXIT;
}