mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Add action to locate to loop start/end
This commit is contained in:
parent
fabb080672
commit
888d91d599
6 changed files with 40 additions and 0 deletions
|
|
@ -1421,6 +1421,7 @@ Editor::set_session (Session *t)
|
|||
_session->locations()->added.connect (_session_connections, invalidator (*this), boost::bind (&Editor::add_new_location, this, _1), gui_context());
|
||||
_session->locations()->removed.connect (_session_connections, invalidator (*this), boost::bind (&Editor::location_gone, this, _1), gui_context());
|
||||
_session->locations()->changed.connect (_session_connections, invalidator (*this), boost::bind (&Editor::refresh_location_display, this), gui_context());
|
||||
_session->auto_loop_location_changed.connect (_session_connections, invalidator (*this), boost::bind (&Editor::loop_location_changed, this, _1), gui_context ());
|
||||
_session->history().Changed.connect (_session_connections, invalidator (*this), boost::bind (&Editor::history_changed, this), gui_context());
|
||||
|
||||
_playhead_cursor->track_canvas_item().reparent ((ArdourCanvas::Item*) get_cursor_scroll_group());
|
||||
|
|
@ -1434,6 +1435,8 @@ Editor::set_session (Session *t)
|
|||
Config->map_parameters (pc);
|
||||
_session->config.map_parameters (pc);
|
||||
|
||||
loop_location_changed (_session->locations()->auto_loop_location ());
|
||||
|
||||
//tempo_map_changed (PropertyChange (0));
|
||||
reset_metric_marks ();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue