summaryrefslogtreecommitdiffstats
path: root/divelist.c
diff options
context:
space:
mode:
Diffstat (limited to 'divelist.c')
-rw-r--r--divelist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/divelist.c b/divelist.c
index 0951194b3..bf9d18c6e 100644
--- a/divelist.c
+++ b/divelist.c
@@ -2316,6 +2316,7 @@ static void sort_column_change_cb(GtkTreeSortable *treeview, gpointer data)
GtkSortType order;
GtkTreeStore *currentmodel = dive_list.model;
+ gtk_widget_grab_focus(dive_list.tree_view);
if (second_call)
return;