sysprof: dont autoselect descendants

It makes focus confusing when loading Sysprof.
This commit is contained in:
Christian Hergert
2023-07-25 14:16:24 -07:00
parent 471e7205aa
commit 24fa82f8ee

View File

@ -104,6 +104,7 @@ sysprof_callgraph_view_set_descendants (SysprofCallgraphView *self,
descendants_sort_model = gtk_sort_list_model_new (g_object_ref (G_LIST_MODEL (descendants_tree)),
g_object_ref (GTK_SORTER (descendants_sorter)));
descendants_selection = gtk_single_selection_new (g_object_ref (G_LIST_MODEL (descendants_sort_model)));
gtk_single_selection_set_autoselect (descendants_selection, FALSE);
g_signal_connect_object (descendants_selection,
"selection-changed",
G_CALLBACK (descendants_selection_changed_cb),