diff --git a/src/fsearch_window.c b/src/fsearch_window.c index 70196a945..afe5ebbec 100644 --- a/src/fsearch_window.c +++ b/src/fsearch_window.c @@ -898,6 +898,9 @@ on_search_entry_activate(GtkButton *widget, gpointer user_data) { if (db_view_get_num_entries(win->result_view->database_view) > 0) { if (db_view_get_num_selected(win->result_view->database_view) < 1) { db_view_select(win->result_view->database_view, 0); + fsearch_window_actions_update(win); + GActionGroup *group = G_ACTION_GROUP(win); + g_action_group_activate_action(group, "open", NULL); } gtk_widget_grab_focus(GTK_WIDGET(win->result_view->list_view)); }