mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-11 07:30:54 +00:00
sysprof: make enter work after selection
By just focusing the zoom button.
This commit is contained in:
@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user