diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-07-20 12:57:19 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-07-20 12:57:19 -0400 |
commit | 7198908a00fa87b329035c6beebb81cfde719e41 (patch) | |
tree | f2dcd4e5f8146cfd5952be0baa11a4d8acbe31e6 /libs | |
parent | a81cba17a6b4619685ebdfbbebaf3ae428c58a48 (diff) |
do not call playhead priority (auto-return) code after selections change, unless doing the
Tracks playhead priority thing
Diffstat (limited to 'libs')
-rw-r--r-- | libs/ardour/session.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index 9ef3633819..bff71f002b 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -6158,26 +6158,34 @@ void Session::set_range_selection (framepos_t start, framepos_t end) { _range_selection = Evoral::Range<framepos_t> (start, end); +#ifdef USE_TRACKS_CODE_FEATURES follow_playhead_priority (); +#endif } void Session::set_object_selection (framepos_t start, framepos_t end) { _object_selection = Evoral::Range<framepos_t> (start, end); +#ifdef USE_TRACKS_CODE_FEATURES follow_playhead_priority (); +#endif } void Session::clear_range_selection () { _range_selection = Evoral::Range<framepos_t> (-1,-1); +#ifdef USE_TRACKS_CODE_FEATURES follow_playhead_priority (); +#endif } void Session::clear_object_selection () { _object_selection = Evoral::Range<framepos_t> (-1,-1); +#ifdef USE_TRACKS_CODE_FEATURES follow_playhead_priority (); +#endif } |