diff --git a/panels/keyboard/keyboard-shortcuts.c b/panels/keyboard/keyboard-shortcuts.c
index ddaf588..35838d9 100644
--- a/panels/keyboard/keyboard-shortcuts.c
+++ b/panels/keyboard/keyboard-shortcuts.c
@@ -1069,12 +1069,12 @@ start_editing_cb (GtkTreeView    *tree_view,
       else
         {
           gtk_widget_grab_focus (GTK_WIDGET (tree_view));
-          gtk_tree_view_set_cursor_on_cell (tree_view,
-                                            path,
-                                            gtk_tree_view_get_column (tree_view, 1),
-                                            cell,
-                                            TRUE);
         }
+      gtk_tree_view_set_cursor_on_cell (tree_view,
+                                        path,
+                                        gtk_tree_view_get_column (tree_view, 1),
+                                        cell,
+                                        TRUE);
       g_signal_stop_emission_by_name (tree_view, "button_press_event");
       gtk_tree_path_free (path);
     }
