inspector: Fix showing the frame clock

We want to go to the object, not just select it
in the list (which does not even contain frame clocks).
This commit is contained in:
Matthias Clasen 2019-05-08 02:44:24 +00:00
parent 4cc27285b1
commit 46c1e154f1

View File

@ -180,7 +180,7 @@ show_object (GtkInspectorMiscInfo *sl,
const gchar *tab)
{
g_object_set_data_full (G_OBJECT (sl->priv->object_tree), "next-tab", g_strdup (tab), g_free);
gtk_inspector_object_tree_select_object (sl->priv->object_tree, object);
gtk_inspector_object_tree_activate_object (sl->priv->object_tree, object);
}
static void