summaryrefslogtreecommitdiff
path: root/gtk2_ardour/location_ui.cc
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2019-02-12 11:15:34 -0600
committerBen Loftis <ben@harrisonconsoles.com>2019-02-12 11:35:57 -0600
commit3e442ae52bdffd1da453ba6c3bd46bf034576a1b (patch)
tree56af7e98319609f6df97d6936c332670208d0003 /gtk2_ardour/location_ui.cc
parent688bd284583e1b1184ddf7826e49822ac032b098 (diff)
Session-range behavior (gtk2 part)
* Both the session-start and session-end point should follow the is-free option * Rename the end-is-free option to session-range-is-free, to reflect that change * This fixes the problem: recording before the start marker would move the Start, even if the user had already fixed the End marker.
Diffstat (limited to 'gtk2_ardour/location_ui.cc')
-rw-r--r--gtk2_ardour/location_ui.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/location_ui.cc b/gtk2_ardour/location_ui.cc
index 7f658b9816..306f2ab6d2 100644
--- a/gtk2_ardour/location_ui.cc
+++ b/gtk2_ardour/location_ui.cc
@@ -423,7 +423,7 @@ LocationEditRow::to_playhead_button_pressed (LocationPart part)
case LocEnd:
location->set_end (_session->transport_sample (), false, true,divisions);
if (location->is_session_range()) {
- _session->set_end_is_free (false);
+ _session->set_session_range_is_free (false);
}
break;
default:
@@ -472,13 +472,13 @@ LocationEditRow::clock_changed (LocationPart part)
case LocEnd:
location->set_end (end_clock.current_time(), false, true, divisions);
if (location->is_session_range()) {
- _session->set_end_is_free (false);
+ _session->set_session_range_is_free (false);
}
break;
case LocLength:
location->set_end (location->start() + length_clock.current_duration(), false, true, divisions);
if (location->is_session_range()) {
- _session->set_end_is_free (false);
+ _session->set_session_range_is_free (false);
}
default:
break;