inspector: Don't force-switch to the objects tab

We used to switch to the objects tab when an object is
picked, but now may have two places with picker buttons:
the objects tab and the interactive tab.

So, just don't do that anymore.
This commit is contained in:
Matthias Clasen 2014-12-09 18:27:57 -05:00
parent 702b647d4e
commit cf4afd0e93

View File

@ -216,8 +216,6 @@ select_widget (GtkInspectorWindow *iw,
iw->selected_widget = widget;
gtk_stack_set_visible_child_name (GTK_STACK (iw->top_stack), "objects");
if (!gtk_inspector_object_tree_find_object (wt, G_OBJECT (widget), &iter))
gtk_inspector_object_tree_scan (wt, gtk_widget_get_toplevel (widget));
gtk_inspector_object_tree_select_object (wt, G_OBJECT (widget));