sysprof: make enter work after selection

By just focusing the zoom button.
This commit is contained in:
Christian Hergert
2023-07-13 20:26:03 -07:00
parent 1eed5a974f
commit 4c4caf420a

View File

@ -242,6 +242,8 @@ sysprof_time_scrubber_drag_end_cb (SysprofTimeScrubber *self,
to_select.end_nsec = visible->begin_nsec + (end * visible_duration); to_select.end_nsec = visible->begin_nsec + (end * visible_duration);
sysprof_session_select_time (self->session, &to_select); sysprof_session_select_time (self->session, &to_select);
gtk_widget_grab_focus (GTK_WIDGET (self->zoom));
} }
} }
else if (self->drag_start_x >= base_x) else if (self->drag_start_x >= base_x)