diff options
author | Robin Gareus <robin@gareus.org> | 2017-02-18 01:25:13 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-02-18 01:25:13 +0100 |
commit | c8d6ddfd10db825e10ba40567dfc854b545f9cec (patch) | |
tree | fd835264c8f79568db5e82978a4fc4ab08c9fd05 /gtk2_ardour/editor.h | |
parent | 85e3d2158e53df7450e56cbef3d2b3b3aebeb59b (diff) |
Don't scroll-jump when selecting all tracks
Diffstat (limited to 'gtk2_ardour/editor.h')
-rw-r--r-- | gtk2_ardour/editor.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk2_ardour/editor.h b/gtk2_ardour/editor.h index 0efacd98eb..fb1e4b4bdc 100644 --- a/gtk2_ardour/editor.h +++ b/gtk2_ardour/editor.h @@ -1606,6 +1606,10 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD void queue_visual_videotimeline_update (); void embed_audio_from_video (std::string, framepos_t n = 0, bool lock_position_to_video = true); + bool track_selection_change_without_scroll () const { + return _track_selection_change_without_scroll; + } + PBD::Signal0<void> EditorFreeze; PBD::Signal0<void> EditorThaw; @@ -1856,6 +1860,8 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD void point_selection_changed (); void marker_selection_changed (); + bool _track_selection_change_without_scroll; + void cancel_selection (); void cancel_time_selection (); |