From 774ad0752ab0f5ba7ae86e0d90ae622df3b41777 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 12 Jul 2016 11:19:34 -0400 Subject: GUI side of : once the user has explicitly set the session range end, playlist/range changes do not move it. The user may drag the marker, edit in the Location UI, or use nudge, to set the end --- gtk2_ardour/location_ui.cc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'gtk2_ardour/location_ui.cc') diff --git a/gtk2_ardour/location_ui.cc b/gtk2_ardour/location_ui.cc index e41ad712e4..7dfc2ecbce 100644 --- a/gtk2_ardour/location_ui.cc +++ b/gtk2_ardour/location_ui.cc @@ -420,6 +420,9 @@ LocationEditRow::to_playhead_button_pressed (LocationPart part) break; case LocEnd: location->set_end (_session->transport_frame ()); + if (location->is_session_range()) { + _session->set_end_is_free (false); + } break; default: break; @@ -464,9 +467,15 @@ LocationEditRow::clock_changed (LocationPart part) break; case LocEnd: location->set_end (end_clock.current_time()); + if (location->is_session_range()) { + _session->set_end_is_free (false); + } break; case LocLength: location->set_end (location->start() + length_clock.current_duration()); + if (location->is_session_range()) { + _session->set_end_is_free (false); + } default: break; } -- cgit v1.2.3