diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-07-12 11:50:12 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-07-12 12:31:02 -0400 |
commit | fc06525bb24a049e8850c1f40725f30c6c006605 (patch) | |
tree | d098c3d7bfd59d4c10eac77996f9cd3f5605fcb8 /gtk2_ardour | |
parent | 9d4506716c91bedef0f633eca98e4e9ec1ce6258 (diff) |
two more places where the user can explicitly set the session end now also make the end non-free
Diffstat (limited to 'gtk2_ardour')
-rw-r--r-- | gtk2_ardour/editor_ops.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index 50d1bcc24c..cdb0b5bd6a 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -2239,6 +2239,8 @@ Editor::set_session_end_from_playhead () commit_reversible_command (); } + + _session->set_end_is_free (false); } void @@ -6293,11 +6295,11 @@ Editor::set_session_extents_from_selection () Location* loc; if ((loc = _session->locations()->session_range_location()) == 0) { - _session->set_session_extents ( start, end ); // this will create a new session range; no need for UNDO + _session->set_session_extents (start, end); // this will create a new session range; no need for UNDO } else { XMLNode &before = loc->get_state(); - _session->set_session_extents ( start, end ); + _session->set_session_extents (start, end); XMLNode &after = loc->get_state(); @@ -6307,6 +6309,8 @@ Editor::set_session_extents_from_selection () commit_reversible_command (); } + + _session->set_end_is_free (false); } void |