inspector: Select an object when activating it

This commit is contained in:
Timm Bäder 2019-10-26 18:22:27 +02:00
parent edf56b438e
commit c2306d3ba6

View File

@ -696,6 +696,7 @@ void
gtk_inspector_object_tree_activate_object (GtkInspectorObjectTree *wt, gtk_inspector_object_tree_activate_object (GtkInspectorObjectTree *wt,
GObject *object) GObject *object)
{ {
gtk_inspector_object_tree_select_object (wt, object);
g_signal_emit (wt, signals[OBJECT_ACTIVATED], 0, object); g_signal_emit (wt, signals[OBJECT_ACTIVATED], 0, object);
} }