mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-04 09:40:19 +00:00
Bug 588943 – set correct selection before emitting cursor-changed when searching
Make sure the correct selection is set when emitting cursor-changed during an interactive search
This commit is contained in:
parent
3484246dc3
commit
48f1b45b62
@ -14591,8 +14591,8 @@ gtk_tree_view_search_iter (GtkTreeModel *model,
|
||||
{
|
||||
gtk_tree_view_scroll_to_cell (tree_view, path, NULL,
|
||||
TRUE, 0.5, 0.0);
|
||||
gtk_tree_view_real_set_cursor (tree_view, path, FALSE, TRUE);
|
||||
gtk_tree_selection_select_iter (selection, iter);
|
||||
gtk_tree_view_real_set_cursor (tree_view, path, FALSE, TRUE);
|
||||
|
||||
if (path)
|
||||
gtk_tree_path_free (path);
|
||||
|
Loading…
Reference in New Issue
Block a user