From dc66e93eec2f26ec5c60faf61e34590c56075a5e Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Mon, 10 Jul 2023 14:39:33 -0700 Subject: [PATCH] sysprof: ensure initial row is selected --- src/sysprof/sysprof-sidebar.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sysprof/sysprof-sidebar.c b/src/sysprof/sysprof-sidebar.c index 87d94435..cc40b744 100644 --- a/src/sysprof/sysprof-sidebar.c +++ b/src/sysprof/sysprof-sidebar.c @@ -82,6 +82,8 @@ sysprof_sidebar_bind_cb (SysprofSidebar *self, sysprof_sidebar_create_row, self, NULL); + + gtk_list_box_select_row (self->list_box, gtk_list_box_get_row_at_index (self->list_box, 0)); } static void