forked from AuroraMiddleware/gtk
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:
parent
702b647d4e
commit
cf4afd0e93
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user