Skip to content

query-editor: Fix focus grab

We have been calling gtk_entry_grab_focus_without_selecting(), but GtkSearchEntry is not a GtkEntry subclass in GTK 4, so it fails.

GtkSearchEntry doesn't have an equivalent method because that's its default focus behavior. So, gtk_widget_grab_focus() just works.

Closes #2094 (closed)

Edited by António Fernandes

Merge request reports

Loading